Skip to content

#c031df

a balanced, vivid violet · neutral · closest name: Medium Orchid

RGB
192, 49, 223
HSL
289°, 73%, 53%
CMYK
14, 78, 0, 13
Luminance
0.1873

At a glance

Every number on this page in one read: what #c031df is made of, how bright it looks, and which way it leans.

Hex
#c031df
Hue
289°
violet
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1873
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.75:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue289° of 360°
Saturation73%
Lightness53%
Temperature
Warm ← → Cool56% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c031df
RGBrgb(192, 49, 223)
HSLhsl(289, 73%, 53%)
CMYKcmyk(14%, 78%, 0%, 13%)
LABlab(50.4 76.2 -59.4)
LCHlch(50.4 96.6 322.1)
OKLCHoklch(0.606 0.257 319.5)
Decimal12595679
Display P3color(display-p3 0.753 0.192 0.875)

Copy-ready code

/* CSS */
color: #c031df;
background-color: #c031df;
/* Tailwind (arbitrary) */
class="text-[#c031df] bg-[#c031df]"
/* SCSS */
$brand: #c031df;
/* SwiftUI */
Color(red: 0.753, green: 0.192, blue: 0.875)
/* Android */
Color.parseColor("#c031df")
/* Flutter */
Color(0xFFC031DF)
/* Python / OpenCV (BGR) */
(223, 49, 192)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #c031df · 4.75:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.42:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.75:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c031df as text scores 4.42:1 on white and 4.75:1 on black.

Accessibility — WCAG contrast

Aa
#c031df on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#c031df on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FE4
deuteranopia · #407CDB
tritanopia · #C05788

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c031df is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF3FC
#F5E7F8
#ECC9F3
#E19EF0
#D26DE8
#c031df
#B421D4
#961BB1
#78168D
#581466
#370D40
Base = 500Lightest = 50 · #FAF3FCDarkest = 950 · #370D40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #ECC9F3;
  --brand-300: #E19EF0;
  --brand-400: #D26DE8;
  --brand-500: #c031df;
  --brand-600: #B421D4;
  --brand-700: #961BB1;
  --brand-800: #78168D;
  --brand-900: #581466;
  --brand-950: #370D40;
  --brand: #c031df;
  --brand-ink: #000000;
}

Colors that work with #c031df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#5BB517
Second voice, not a rival
Dark variant#5E116E
Hover, pressed, headers
Light variant#F8E9FC
Selected rows, tints
Dark surface#211424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #c031df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#50DF31
Analogous left#6931DF
Analogous right#DF31A7
Split-complement 1#A7DF31
Split-complement 2#31DF69
Triadic 1#DFC031
Triadic 2#31DFC0
Tetradic#DF6931

RGB percentages

Red75.3%
Green19.2%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta78.0%
Yellow0.0%
Key (black)12.5%

Color previews

#c031df text on a black background

contrast 4.75:1

Card sample

#c031df text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #c031df;
Background color
Panel with #c031df background
background-color: #c031df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #c031df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(192, 49, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 49, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c031df;
background: linear-gradient(135deg, #c031df, #DF318A);

Monochromatic scale

Palettes built from #c031df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#c031df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#c031df, answered

What color is #c031df?

#c031df is a balanced vivid violet, closest to Medium Orchid (ΔE2000 5.4). It sits at 289° on the hue wheel with 73% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #c031df?

rgb(192, 49, 223) — 192 red, 49 green and 223 blue out of 255, or 75.3% / 19.2% / 87.5% by channel.

Is #c031df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1873 and perceived brightness is 53%, so black text on it reaches 4.75:1.

Should I use black or white text on #c031df?

Black. It scores 4.75:1 against #c031df, versus 4.42:1 for white — AA at any size.

What is the complementary color of #c031df?

#50DF31 sits directly opposite on the wheel. Softer options are the split-complements #A7DF31 and #31DF69, which give the same contrast with far less vibration.

What colors go well with #c031df?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #5BB517 as an accent and #5E116E for hover and pressed states. For a palette, the analogous pair #6931DF and #DF31A7 stays calm, while #50DF31 is the loudest partner.

What is #c031df in CMYK for printing?

cmyk(14%, 78%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #c031df warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF31BE; nudged cooler, #802EE1.

Work with #c031df in the Color Lab