#201641#201641

#201641 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.0% C 0.078 H 289.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#201641
RGBrgb(32, 22, 65)
HSLhsl(254, 49%, 17%)
HSVhsv(254, 66%, 25%)
CMYKcmyk(50.8%, 66.2%, 0%, 74.5%)
CIE-LABlab(11.01, 17.74, -25.74)
CIE-LCHlch(11.01, 31.27, 304.57°)
OKLaboklab(24.03% 0.0267 -0.0734)
OKLCHoklch(24.03% 0.078 289.9)
XYZxyz(1.8364, 1.2625, 5.1469)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201641 #374116
analogous
#162241 #201641 #361641
triadic
#201641 #412016 #164120
tetradic
#201641 #411622 #374116 #164136
square
#201641 #411622 #374116 #164136
split-complementary
#201641 #413616 #224116
monochromatic
#0B0817 #0B0817 #201641 #37256F #4D359C

Accessibility & contrast

On white

16.77
#201641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201641
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201641#FFFFFF#000000##FFFFFF
##2016411.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#162028
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201641;
/* rgb */ color: rgb(32, 22, 65);
/* oklch */ color: oklch(24.0% 0.078 289.9);
Tailwind
colors: {
  custom: {
    50: '#5e5376',
    500: '#201641',
    950: '#000000',
  },
}
SCSS
$custom: #201641;
$custom-light: #5e5376;
$custom-dark: #000000;
JSON
{
  "hex": "#201641",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 253.953,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24028,
    "c": 0.07813,
    "h": 289.9
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#201641
secondary
#6A783A
accent
#D94FB9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201641

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

Preview Lab → · Contrast checker → · Palette generator →

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