#200A40#200A40

#200A40 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.095 H 296.1°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#200A40
RGBrgb(32, 10, 64)
HSLhsl(264, 73%, 15%)
HSVhsv(264, 84%, 25%)
CMYKcmyk(50%, 84.4%, 0%, 74.9%)
CIE-LABlab(8.08, 25.14, -29.80)
CIE-LCHlch(8.08, 38.99, 310.15°)
OKLaboklab(21.89% 0.0418 -0.0853)
OKLCHoklch(21.89% 0.095 296.1)
XYZxyz(1.6294, 0.8943, 4.9363)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200A40 #2A400A
analogous
#0A0F40 #200A40 #3B0A40
triadic
#200A40 #40200A #0A4020
tetradic
#200A40 #400A0F #2A400A #0A403B
square
#200A40 #400A0F #2A400A #0A403B
split-complementary
#200A40 #403B0A #0F400A
monochromatic
#0D041A #0D041A #200A40 #3A1275 #551BAA

Accessibility & contrast

On white

17.81
#200A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#200A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200A40
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200A40#FFFFFF#000000##FFFFFF
##200A401.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#171824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200a40;
/* rgb */ color: rgb(32, 10, 64);
/* oklch */ color: oklch(21.9% 0.095 296.1);
Tailwind
colors: {
  custom: {
    50: '#604b75',
    500: '#200a40',
    950: '#000000',
  },
}
SCSS
$custom: #200a40;
$custom-light: #604b75;
$custom-dark: #000000;
JSON
{
  "hex": "#200a40",
  "rgb": {
    "r": 32,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 264.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21886,
    "c": 0.09501,
    "h": 296.1
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#200A40
secondary
#5B7D29
accent
#F038A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200A40

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

Preview Lab → · Contrast checker → · Palette generator →

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