#200F31#200F31

#200F31 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.066 H 304.4°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#200F31
RGBrgb(32, 15, 49)
HSLhsl(270, 53%, 13%)
HSVhsv(270, 69%, 19%)
CMYKcmyk(34.7%, 69.4%, 0%, 80.8%)
CIE-LABlab(7.86, 17.35, -19.29)
CIE-LCHlch(7.86, 25.94, 311.97°)
OKLaboklab(21.31% 0.0374 -0.0545)
OKLCHoklch(21.31% 0.066 304.4)
XYZxyz(1.3207, 0.8705, 3.0036)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200F31 #20310F
analogous
#0F0F31 #200F31 #310F31
triadic
#200F31 #31200F #0F3120
tetradic
#200F31 #310F0F #20310F #0F3131
square
#200F31 #310F0F #20310F #0F3131
split-complementary
#200F31 #31310F #0F310F
monochromatic
#0F0717 #0F0717 #200F31 #3F1D60 #5D2C8F

Accessibility & contrast

On white

17.89
#200F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#200F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200F31
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200F31#FFFFFF#000000##FFFFFF
##200F311.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#081730
Tritanopia (blue-blind)
#1D161E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #200f31;
/* rgb */ color: rgb(32, 15, 49);
/* oklch */ color: oklch(21.3% 0.066 304.4);
Tailwind
colors: {
  custom: {
    50: '#5d4e69',
    500: '#200f31',
    950: '#000000',
  },
}
SCSS
$custom: #200f31;
$custom-light: #5d4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#200f31",
  "rgb": {
    "r": 32,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 270,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21308,
    "c": 0.06605,
    "h": 304.4
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#200F31
secondary
#4E6B31
accent
#DD4B94
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200F31

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

Preview Lab → · Contrast checker → · Palette generator →

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