#201236#201236

#201236 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.068 H 298.7°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#201236
RGBrgb(32, 18, 54)
HSLhsl(263, 50%, 14%)
HSVhsv(263, 67%, 21%)
CMYKcmyk(40.7%, 66.7%, 0%, 78.8%)
CIE-LABlab(9.04, 16.86, -21.05)
CIE-LCHlch(9.04, 26.97, 308.68°)
OKLaboklab(22.3% 0.0327 -0.0596)
OKLCHoklch(22.3% 0.068 298.7)
XYZxyz(1.4777, 1.0060, 3.6056)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201236 #283612
analogous
#121636 #201236 #321236
triadic
#201236 #362012 #123620
tetradic
#201236 #361216 #283612 #123632
square
#201236 #361216 #283612 #123632
split-complementary
#201236 #363212 #163612
monochromatic
#0E0817 #0E0817 #201236 #3B2164 #563192

Accessibility & contrast

On white

17.48
#201236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201236
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201236#FFFFFF#000000##FFFFFF
##2012361.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#071935
Tritanopia (blue-blind)
#1B1921
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201236;
/* rgb */ color: rgb(32, 18, 54);
/* oklch */ color: oklch(22.3% 0.068 298.7);
Tailwind
colors: {
  custom: {
    50: '#5d506d',
    500: '#201236',
    950: '#000000',
  },
}
SCSS
$custom: #201236;
$custom-light: #5d506d;
$custom-dark: #000000;
JSON
{
  "hex": "#201236",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 263.333,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22298,
    "c": 0.06799,
    "h": 298.7
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#201236
secondary
#586F35
accent
#DA4EA3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #201236

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

Preview Lab → · Contrast checker → · Palette generator →

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