#201237#201237

#201237 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.070 H 298.0°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#201237
RGBrgb(32, 18, 55)
HSLhsl(263, 51%, 14%)
HSVhsv(263, 67%, 22%)
CMYKcmyk(41.8%, 67.3%, 0%, 78.4%)
CIE-LABlab(9.12, 17.18, -21.65)
CIE-LCHlch(9.12, 27.64, 308.44°)
OKLaboklab(22.38% 0.0327 -0.0614)
OKLCHoklch(22.38% 0.07 298)
XYZxyz(1.5014, 1.0155, 3.7306)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201237 #293712
analogous
#121737 #201237 #331237
triadic
#201237 #372012 #123720
tetradic
#201237 #371217 #293712 #123733
square
#201237 #371217 #293712 #123733
split-complementary
#201237 #373312 #173712
monochromatic
#0D0817 #0D0817 #201237 #3B2165 #563093

Accessibility & contrast

On white

17.45
#201237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201237
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201237#FFFFFF#000000##FFFFFF
##2012371.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A38
Deuteranopia (green-blind)
#061936
Tritanopia (blue-blind)
#1B1A22
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201237;
/* rgb */ color: rgb(32, 18, 55);
/* oklch */ color: oklch(22.4% 0.070 298.0);
Tailwind
colors: {
  custom: {
    50: '#5d506e',
    500: '#201237',
    950: '#000000',
  },
}
SCSS
$custom: #201237;
$custom-light: #5d506e;
$custom-dark: #000000;
JSON
{
  "hex": "#201237",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 262.703,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2238,
    "c": 0.06954,
    "h": 298
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#201237
secondary
#5A7035
accent
#DA4EA5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201237

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

Preview Lab → · Contrast checker → · Palette generator →

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