#200A31#200A31

#200A31 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.075 H 306.8°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#200A31
RGBrgb(32, 10, 49)
HSLhsl(274, 66%, 12%)
HSVhsv(274, 80%, 19%)
CMYKcmyk(34.7%, 79.6%, 0%, 80.8%)
CIE-LABlab(6.74, 20.28, -21.09)
CIE-LCHlch(6.74, 29.26, 313.88°)
OKLaboklab(20.44% 0.045 -0.0601)
OKLCHoklch(20.44% 0.075 306.8)
XYZxyz(1.2585, 0.7459, 2.9828)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200A31 #1B310A
analogous
#0D0A31 #200A31 #310A2F
triadic
#200A31 #31200A #0A3120
tetradic
#200A31 #310D0A #1B310A #0A2F31
square
#200A31 #310D0A #1B310A #0A2F31
split-complementary
#200A31 #2F310A #0A310D
monochromatic
#110519 #110519 #200A31 #411464 #621F97

Accessibility & contrast

On white

18.27
#200A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#200A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200A31
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200A31#FFFFFF#000000##FFFFFF
##200A311.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#031530
Tritanopia (blue-blind)
#1D121C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #200a31;
/* rgb */ color: rgb(32, 10, 49);
/* oklch */ color: oklch(20.4% 0.075 306.8);
Tailwind
colors: {
  custom: {
    50: '#5d4b69',
    500: '#200a31',
    950: '#000000',
  },
}
SCSS
$custom: #200a31;
$custom-light: #5d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#200a31",
  "rgb": {
    "r": 32,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 273.846,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20439,
    "c": 0.07505,
    "h": 306.8
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#200A31
secondary
#476E29
accent
#E93F89
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200A31

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

Preview Lab → · Contrast checker → · Palette generator →

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