#201839#201839

#201839 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 23.8% C 0.062 H 292.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#201839
RGBrgb(32, 24, 57)
HSLhsl(255, 41%, 16%)
HSVhsv(255, 58%, 22%)
CMYKcmyk(43.9%, 57.9%, 0%, 77.6%)
CIE-LABlab(10.96, 13.53, -20.14)
CIE-LCHlch(10.96, 24.26, 303.89°)
OKLaboklab(23.79% 0.0233 -0.057)
OKLCHoklch(23.79% 0.062 292.2)
XYZxyz(1.6606, 1.2557, 4.0250)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201839 #313918
analogous
#182039 #201839 #301839
triadic
#201839 #392018 #183920
tetradic
#201839 #391820 #313918 #183930
square
#201839 #391820 #313918 #183930
split-complementary
#201839 #393018 #203918
monochromatic
#0C0916 #0C0916 #201839 #382A64 #503C8F

Accessibility & contrast

On white

16.78
#201839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#201839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201839
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201839#FFFFFF#000000##FFFFFF
##2018391.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3A
Deuteranopia (green-blind)
#0C1D38
Tritanopia (blue-blind)
#1A1F25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201839;
/* rgb */ color: rgb(32, 24, 57);
/* oklch */ color: oklch(23.8% 0.062 292.2);
Tailwind
colors: {
  custom: {
    50: '#5d556f',
    500: '#201839',
    950: '#000000',
  },
}
SCSS
$custom: #201839;
$custom-light: #5d556f;
$custom-dark: #000000;
JSON
{
  "hex": "#201839",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 254.545,
    "s": 40.741,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23794,
    "c": 0.06154,
    "h": 292.2
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#201839
secondary
#636F3E
accent
#D157B3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040307
muted
#79787A

Preview Lab

Preview with #201839

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

Preview Lab → · Contrast checker → · Palette generator →

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