#200F5B#200F5B

#200F5B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.125 H 283.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#200F5B
RGBrgb(32, 15, 91)
HSLhsl(253, 72%, 21%)
HSVhsv(253, 84%, 36%)
CMYKcmyk(64.8%, 83.5%, 0%, 64.3%)
CIE-LABlab(11.98, 31.08, -42.07)
CIE-LCHlch(11.98, 52.30, 306.45°)
OKLaboklab(25.52% 0.0289 -0.1213)
OKLCHoklch(25.52% 0.125 283.4)
XYZxyz(2.6542, 1.4039, 10.0266)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200F5B #4A5B0F
analogous
#0F245B #200F5B #460F5B
triadic
#200F5B #5B200F #0F5B20
tetradic
#200F5B #5B0F24 #4A5B0F #0F5B46
square
#200F5B #5B0F24 #4A5B0F #0F5B46
split-complementary
#200F5B #5B460F #245B0F
monochromatic
#09041A #0E0626 #200F5B #321890 #4520C4

Accessibility & contrast

On white

16.40
#200F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200F5B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200F5B#FFFFFF#000000##FFFFFF
##200F5B1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002535
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #200f5b;
/* rgb */ color: rgb(32, 15, 91);
/* oklch */ color: oklch(25.5% 0.125 283.4);
Tailwind
colors: {
  custom: {
    50: '#65508a',
    500: '#200f5b',
    950: '#000000',
  },
}
SCSS
$custom: #200f5b;
$custom-light: #65508a;
$custom-dark: #000000;
JSON
{
  "hex": "#200f5b",
  "rgb": {
    "r": 32,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 253.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25516,
    "c": 0.12467,
    "h": 283.4
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#200F5B
secondary
#7E9531
accent
#EE39C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #200F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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