#201142#201142

#201142 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 292.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#201142
RGBrgb(32, 17, 66)
HSLhsl(258, 59%, 16%)
HSVhsv(258, 74%, 26%)
CMYKcmyk(51.5%, 74.2%, 0%, 74.1%)
CIE-LABlab(9.81, 21.52, -28.40)
CIE-LCHlch(9.81, 35.63, 307.15°)
OKLaboklab(23.18% 0.0332 -0.0812)
OKLCHoklch(23.18% 0.088 292.2)
XYZxyz(1.7792, 1.1013, 5.2720)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201142 #334211
analogous
#111B42 #201142 #391142
triadic
#201142 #422011 #114220
tetradic
#201142 #42111B #334211 #114239
square
#201142 #42111B #334211 #114239
split-complementary
#201142 #423911 #1B4211
monochromatic
#0C0618 #0C0618 #201142 #381E73 #4F2AA3

Accessibility & contrast

On white

17.21
#201142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201142
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201142#FFFFFF#000000##FFFFFF
##2011421.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#161D27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201142;
/* rgb */ color: rgb(32, 17, 66);
/* oklch */ color: oklch(23.2% 0.088 292.2);
Tailwind
colors: {
  custom: {
    50: '#5f5077',
    500: '#201142',
    950: '#000000',
  },
}
SCSS
$custom: #201142;
$custom-light: #5f5077;
$custom-dark: #000000;
JSON
{
  "hex": "#201142",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 258.367,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2318,
    "c": 0.08777,
    "h": 292.2
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#201142
secondary
#657C33
accent
#E246B2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201142

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

Preview Lab → · Contrast checker → · Palette generator →

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