#201152#201152

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

Color values

HEX#201152
RGBrgb(32, 17, 82)
HSLhsl(254, 66%, 19%)
HSVhsv(254, 79%, 32%)
CMYKcmyk(61%, 79.3%, 0%, 67.8%)
CIE-LABlab(11.39, 26.93, -36.93)
CIE-LCHlch(11.39, 45.71, 306.10°)
OKLaboklab(24.8% 0.0299 -0.1063)
OKLCHoklch(24.8% 0.11 285.7)
XYZxyz(2.3186, 1.3170, 8.1130)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201152 #435211
analogous
#112352 #201152 #411152
triadic
#201152 #522011 #115220
tetradic
#201152 #521123 #435211 #115241
square
#201152 #521123 #435211 #115241
split-complementary
#201152 #524111 #235211
monochromatic
#0A0519 #0C061F #201152 #341C85 #4826B7

Accessibility & contrast

On white

16.62
#201152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#201152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201152
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201152#FFFFFF#000000##FFFFFF
##2011521.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#092330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201152;
/* rgb */ color: rgb(32, 17, 82);
/* oklch */ color: oklch(24.8% 0.110 285.7);
Tailwind
colors: {
  custom: {
    50: '#625183',
    500: '#201152',
    950: '#000000',
  },
}
SCSS
$custom: #201152;
$custom-light: #625183;
$custom-dark: #000000;
JSON
{
  "hex": "#201152",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 253.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24803,
    "c": 0.1104,
    "h": 285.7
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#201152
secondary
#778B34
accent
#E93FC2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201152

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

Preview Lab → · Contrast checker → · Palette generator →

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