#200B38#200B38

#200B38 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.083 H 300.9°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#200B38
RGBrgb(32, 11, 56)
HSLhsl(268, 67%, 13%)
HSVhsv(268, 80%, 22%)
CMYKcmyk(42.9%, 80.4%, 0%, 78%)
CIE-LABlab(7.51, 22.05, -24.96)
CIE-LCHlch(7.51, 33.31, 311.45°)
OKLaboklab(21.24% 0.0426 -0.0712)
OKLCHoklch(21.24% 0.083 300.9)
XYZxyz(1.4290, 0.8319, 3.8259)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200B38 #23380B
analogous
#0B0C38 #200B38 #360B38
triadic
#200B38 #38200B #0B3820
tetradic
#200B38 #380B0C #23380B #0B3836
square
#200B38 #380B0C #23380B #0B3836
split-complementary
#200B38 #38360B #0C380B
monochromatic
#0F051A #0F051A #200B38 #3D156B #5A1F9E

Accessibility & contrast

On white

18.00
#200B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200B38
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200B38#FFFFFF#000000##FFFFFF
##200B381.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#1B1620
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #200b38;
/* rgb */ color: rgb(32, 11, 56);
/* oklch */ color: oklch(21.2% 0.083 300.9);
Tailwind
colors: {
  custom: {
    50: '#5e4b6f',
    500: '#200b38',
    950: '#000000',
  },
}
SCSS
$custom: #200b38;
$custom-light: #5e4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#200b38",
  "rgb": {
    "r": 32,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 268,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21237,
    "c": 0.08292,
    "h": 300.9
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#200B38
secondary
#52752A
accent
#EA3E9A
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #200B38

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

Preview Lab → · Contrast checker → · Palette generator →

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