#200C5F#200C5F

#200C5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.133 H 282.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#200C5F
RGBrgb(32, 12, 95)
HSLhsl(254, 78%, 21%)
HSVhsv(254, 87%, 37%)
CMYKcmyk(66.3%, 87.4%, 0%, 62.7%)
CIE-LABlab(11.93, 33.88, -44.84)
CIE-LCHlch(11.93, 56.20, 307.08°)
OKLaboklab(25.62% 0.0294 -0.1293)
OKLCHoklch(25.62% 0.133 282.8)
XYZxyz(2.7921, 1.3960, 10.9466)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C5F #4B5F0C
analogous
#0C215F #200C5F #490C5F
triadic
#200C5F #5F200C #0C5F20
tetradic
#200C5F #5F0C21 #4B5F0C #0C5F49
square
#200C5F #5F0C21 #4B5F0C #0C5F49
split-complementary
#200C5F #5F490C #215F0C
monochromatic
#09031B #0E0529 #200C5F #321395 #451ACC

Accessibility & contrast

On white

16.42
#200C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#200C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200C5F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C5F#FFFFFF#000000##FFFFFF
##200C5F1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #200c5f;
/* rgb */ color: rgb(32, 12, 95);
/* oklch */ color: oklch(25.6% 0.133 282.8);
Tailwind
colors: {
  custom: {
    50: '#664f8d',
    500: '#200c5f',
    950: '#000000',
  },
}
SCSS
$custom: #200c5f;
$custom-light: #664f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#200c5f",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 254.458,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2562,
    "c": 0.13261,
    "h": 282.8
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#200C5F
secondary
#7F992D
accent
#F434C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #200C5F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#200C5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva