#200C40#200C40

#200C40 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.092 H 295.4°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#200C40
RGBrgb(32, 12, 64)
HSLhsl(263, 68%, 15%)
HSVhsv(263, 81%, 25%)
CMYKcmyk(50%, 81.2%, 0%, 74.9%)
CIE-LABlab(8.48, 24.00, -29.14)
CIE-LCHlch(8.48, 37.75, 309.47°)
OKLaboklab(22.17% 0.0396 -0.0834)
OKLCHoklch(22.17% 0.092 295.4)
XYZxyz(1.6523, 0.9401, 4.9439)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C40 #2C400C
analogous
#0C1240 #200C40 #3A0C40
triadic
#200C40 #40200C #0C4020
tetradic
#200C40 #400C12 #2C400C #0C403A
square
#200C40 #400C12 #2C400C #0C403A
split-complementary
#200C40 #403A0C #12400C
monochromatic
#0D051A #0D051A #200C40 #3A1674 #541FA7

Accessibility & contrast

On white

17.68
#200C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#200C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200C40
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C40#FFFFFF#000000##FFFFFF
##200C401.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#171925
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200c40;
/* rgb */ color: rgb(32, 12, 64);
/* oklch */ color: oklch(22.2% 0.092 295.4);
Tailwind
colors: {
  custom: {
    50: '#5f4c75',
    500: '#200c40',
    950: '#000000',
  },
}
SCSS
$custom: #200c40;
$custom-light: #5f4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#200c40",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22172,
    "c": 0.09232,
    "h": 295.4
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#200C40
secondary
#5D7C2C
accent
#EB3DA8
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200C40

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

Preview Lab → · Contrast checker → · Palette generator →

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