#201442#201442

#201442 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.083 H 290.7°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#201442
RGBrgb(32, 20, 66)
HSLhsl(256, 53%, 17%)
HSVhsv(256, 70%, 26%)
CMYKcmyk(51.5%, 69.7%, 0%, 74.1%)
CIE-LABlab(10.56, 19.49, -27.17)
CIE-LCHlch(10.56, 33.44, 305.65°)
OKLaboklab(23.73% 0.0293 -0.0776)
OKLCHoklch(23.73% 0.083 290.7)
XYZxyz(1.8289, 1.2007, 5.2886)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201442 #364214
analogous
#141F42 #201442 #371442
triadic
#201442 #422014 #144220
tetradic
#201442 #42141F #364214 #144237
square
#201442 #42141F #364214 #144237
split-complementary
#201442 #423714 #1F4214
monochromatic
#0B0717 #0B0717 #201442 #372271 #4E30A0

Accessibility & contrast

On white

16.93
#201442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201442
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201442#FFFFFF#000000##FFFFFF
##2014421.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#161F28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201442;
/* rgb */ color: rgb(32, 20, 66);
/* oklch */ color: oklch(23.7% 0.083 290.7);
Tailwind
colors: {
  custom: {
    50: '#5f5277',
    500: '#201442',
    950: '#000000',
  },
}
SCSS
$custom: #201442;
$custom-light: #5f5277;
$custom-dark: #000000;
JSON
{
  "hex": "#201442",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 255.652,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23726,
    "c": 0.083,
    "h": 290.7
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#201442
secondary
#697A38
accent
#DD4BB7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201442

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

Preview Lab → · Contrast checker → · Palette generator →

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