#201841#201841

#201841 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.075 H 288.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#201841
RGBrgb(32, 24, 65)
HSLhsl(252, 46%, 17%)
HSVhsv(252, 63%, 25%)
CMYKcmyk(50.8%, 63.1%, 0%, 74.5%)
CIE-LABlab(11.57, 16.31, -24.85)
CIE-LCHlch(11.57, 29.73, 303.28°)
OKLaboklab(24.44% 0.0238 -0.0708)
OKLCHoklch(24.44% 0.075 288.6)
XYZxyz(1.8762, 1.3419, 5.1602)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201841 #394118
analogous
#182541 #201841 #341841
triadic
#201841 #412018 #184120
tetradic
#201841 #411825 #394118 #184134
square
#201841 #411825 #394118 #184134
split-complementary
#201841 #413418 #254118
monochromatic
#0B0816 #0B0816 #201841 #36296E #4C399A

Accessibility & contrast

On white

16.56
#201841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#201841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201841
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201841#FFFFFF#000000##FFFFFF
##2018411.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032042
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#162129
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201841;
/* rgb */ color: rgb(32, 24, 65);
/* oklch */ color: oklch(24.4% 0.075 288.6);
Tailwind
colors: {
  custom: {
    50: '#5e5576',
    500: '#201841',
    950: '#000000',
  },
}
SCSS
$custom: #201841;
$custom-light: #5e5576;
$custom-dark: #000000;
JSON
{
  "hex": "#201841",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 251.707,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24437,
    "c": 0.0747,
    "h": 288.6
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#201841
secondary
#6C783D
accent
#D652BC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040308
muted
#79787B

Preview Lab

Preview with #201841

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

Preview Lab → · Contrast checker → · Palette generator →

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