#200F42#200F42

#200F42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.091 H 293.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#200F42
RGBrgb(32, 15, 66)
HSLhsl(260, 63%, 16%)
HSVhsv(260, 77%, 26%)
CMYKcmyk(51.5%, 77.3%, 0%, 74.1%)
CIE-LABlab(9.34, 22.81, -29.17)
CIE-LCHlch(9.34, 37.03, 308.03°)
OKLaboklab(22.84% 0.0357 -0.0835)
OKLCHoklch(22.84% 0.091 293.1)
XYZxyz(1.7496, 1.0420, 5.2621)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200F42 #31420F
analogous
#0F1742 #200F42 #390F42
triadic
#200F42 #42200F #0F4220
tetradic
#200F42 #420F17 #31420F #0F4239
square
#200F42 #420F17 #31420F #0F4239
split-complementary
#200F42 #42390F #17420F
monochromatic
#0C0619 #0C0619 #200F42 #381A74 #5026A6

Accessibility & contrast

On white

17.38
#200F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#200F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200F42
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200F42#FFFFFF#000000##FFFFFF
##200F421.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#161C27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #200f42;
/* rgb */ color: rgb(32, 15, 66);
/* oklch */ color: oklch(22.8% 0.091 293.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e77',
    500: '#200f42',
    950: '#000000',
  },
}
SCSS
$custom: #200f42;
$custom-light: #5f4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#200f42",
  "rgb": {
    "r": 32,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 260,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22841,
    "c": 0.09079,
    "h": 293.1
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#200F42
secondary
#637C30
accent
#E642AF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #200F42

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

Preview Lab → · Contrast checker → · Palette generator →

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