#201251#201251

#201251 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.108 H 285.7°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#201251
RGBrgb(32, 18, 81)
HSLhsl(253, 64%, 19%)
HSVhsv(253, 78%, 32%)
CMYKcmyk(60.5%, 77.8%, 0%, 68.2%)
CIE-LABlab(11.51, 25.98, -36.06)
CIE-LCHlch(11.51, 44.44, 305.78°)
OKLaboklab(24.85% 0.0292 -0.1037)
OKLCHoklch(24.85% 0.108 285.7)
XYZxyz(2.2967, 1.3336, 7.9194)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201251 #435112
analogous
#122451 #201251 #401251
triadic
#201251 #512012 #125120
tetradic
#201251 #511224 #435112 #125140
square
#201251 #511224 #435112 #125140
split-complementary
#201251 #514012 #245112
monochromatic
#0A0619 #0C071F #201251 #341D83 #4828B5

Accessibility & contrast

On white

16.58
#201251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#201251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201251
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201251#FFFFFF#000000##FFFFFF
##2012511.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#0A2330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201251;
/* rgb */ color: rgb(32, 18, 81);
/* oklch */ color: oklch(24.9% 0.108 285.7);
Tailwind
colors: {
  custom: {
    50: '#625183',
    500: '#201251',
    950: '#000000',
  },
}
SCSS
$custom: #201251;
$custom-light: #625183;
$custom-dark: #000000;
JSON
{
  "hex": "#201251",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 253.333,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24852,
    "c": 0.10776,
    "h": 285.7
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#201251
secondary
#778A35
accent
#E741C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #201251

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

Preview Lab → · Contrast checker → · Palette generator →

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