#201232#201232

#201232 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.0% C 0.062 H 301.7°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#201232
RGBrgb(32, 18, 50)
HSLhsl(266, 47%, 13%)
HSVhsv(266, 64%, 20%)
CMYKcmyk(36%, 64%, 0%, 80.4%)
CIE-LABlab(8.74, 15.57, -18.62)
CIE-LCHlch(8.74, 24.27, 309.90°)
OKLaboklab(21.98% 0.0325 -0.0525)
OKLCHoklch(21.98% 0.062 301.7)
XYZxyz(1.3876, 0.9700, 3.1311)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201232 #243212
analogous
#121432 #201232 #301232
triadic
#201232 #322012 #123220
tetradic
#201232 #321214 #243212 #123230
square
#201232 #321214 #243212 #123230
split-complementary
#201232 #323012 #143212
monochromatic
#0E0817 #0E0817 #201232 #3D225F #5A328C

Accessibility & contrast

On white

17.59
#201232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#201232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201232
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201232#FFFFFF#000000##FFFFFF
##2012321.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#1D181F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201232;
/* rgb */ color: rgb(32, 18, 50);
/* oklch */ color: oklch(22.0% 0.062 301.7);
Tailwind
colors: {
  custom: {
    50: '#5d506a',
    500: '#201232',
    950: '#000000',
  },
}
SCSS
$custom: #201232;
$custom-light: #5d506a;
$custom-dark: #000000;
JSON
{
  "hex": "#201232",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 266.25,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21977,
    "c": 0.06175,
    "h": 301.7
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#201232
secondary
#536A36
accent
#D7519C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201232

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

Preview Lab → · Contrast checker → · Palette generator →

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