#200938#200938

#200938 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.086 H 301.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#200938
RGBrgb(32, 9, 56)
HSLhsl(269, 72%, 13%)
HSVhsv(269, 84%, 22%)
CMYKcmyk(42.9%, 83.9%, 0%, 78%)
CIE-LABlab(7.12, 23.12, -25.61)
CIE-LCHlch(7.12, 34.50, 312.08°)
OKLaboklab(20.94% 0.0451 -0.0732)
OKLCHoklch(20.94% 0.086 301.6)
XYZxyz(1.4070, 0.7880, 3.8186)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200938 #213809
analogous
#090938 #200938 #370938
triadic
#200938 #382009 #093820
tetradic
#200938 #380909 #213809 #093837
square
#200938 #380909 #213809 #093837
split-complementary
#200938 #383709 #093809
monochromatic
#0F041A #0F041A #200938 #3E116D #5C1AA1

Accessibility & contrast

On white

18.14
#200938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#200938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200938
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200938#FFFFFF#000000##FFFFFF
##2009381.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#1B151F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #200938;
/* rgb */ color: rgb(32, 9, 56);
/* oklch */ color: oklch(20.9% 0.086 301.6);
Tailwind
colors: {
  custom: {
    50: '#5e4a6f',
    500: '#200938',
    950: '#000000',
  },
}
SCSS
$custom: #200938;
$custom-light: #5e4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#200938",
  "rgb": {
    "r": 32,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 269.362,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20937,
    "c": 0.08594,
    "h": 301.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#200938
secondary
#4F7627
accent
#EF3996
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #200938

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

Preview Lab → · Contrast checker → · Palette generator →

#200938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva