#200C45#200C45

#200C45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.099 H 292.7°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#200C45
RGBrgb(32, 12, 69)
HSLhsl(261, 70%, 16%)
HSVhsv(261, 83%, 27%)
CMYKcmyk(53.6%, 82.6%, 0%, 72.9%)
CIE-LABlab(8.99, 25.59, -31.85)
CIE-LCHlch(8.99, 40.86, 308.78°)
OKLaboklab(22.69% 0.0383 -0.0914)
OKLCHoklch(22.69% 0.099 292.7)
XYZxyz(1.8010, 0.9996, 5.7271)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C45 #31450C
analogous
#0C1445 #200C45 #3C0C45
triadic
#200C45 #45200C #0C4520
tetradic
#200C45 #450C14 #31450C #0C453C
square
#200C45 #450C14 #31450C #0C453C
split-complementary
#200C45 #453C0C #14450C
monochromatic
#0C051A #0C051A #200C45 #381579 #501EAD

Accessibility & contrast

On white

17.50
#200C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#200C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200C45
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C45#FFFFFF#000000##FFFFFF
##200C451.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#141B27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #200c45;
/* rgb */ color: rgb(32, 12, 69);
/* oklch */ color: oklch(22.7% 0.099 292.7);
Tailwind
colors: {
  custom: {
    50: '#604d79',
    500: '#200c45',
    950: '#000000',
  },
}
SCSS
$custom: #200c45;
$custom-light: #604d79;
$custom-dark: #000000;
JSON
{
  "hex": "#200c45",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 261.053,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22686,
    "c": 0.09906,
    "h": 292.7
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#200C45
secondary
#63812C
accent
#ED3BAF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #200C45

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

Preview Lab → · Contrast checker → · Palette generator →

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