#201552#201552

#201552 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.105 H 284.3°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#201552
RGBrgb(32, 21, 82)
HSLhsl(251, 59%, 20%)
HSVhsv(251, 74%, 32%)
CMYKcmyk(61%, 74.4%, 0%, 67.8%)
CIE-LABlab(12.30, 24.42, -35.44)
CIE-LCHlch(12.30, 43.04, 304.56°)
OKLaboklab(25.45% 0.026 -0.1019)
OKLCHoklch(25.45% 0.105 284.3)
XYZxyz(2.3864, 1.4525, 8.1356)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201552 #475215
analogous
#152852 #201552 #3F1552
triadic
#201552 #522015 #155220
tetradic
#201552 #521528 #475215 #15523F
square
#201552 #521528 #475215 #15523F
split-complementary
#201552 #523F15 #285215
monochromatic
#0A0618 #0D0921 #201552 #332183 #462EB3

Accessibility & contrast

On white

16.27
#201552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201552
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201552#FFFFFF#000000##FFFFFF
##2015521.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#082531
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201552;
/* rgb */ color: rgb(32, 21, 82);
/* oklch */ color: oklch(25.5% 0.105 284.3);
Tailwind
colors: {
  custom: {
    50: '#625383',
    500: '#201552',
    950: '#000000',
  },
}
SCSS
$custom: #201552;
$custom-light: #625383;
$custom-dark: #000000;
JSON
{
  "hex": "#201552",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 250.82,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25451,
    "c": 0.1052,
    "h": 284.3
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#201552
secondary
#7B8A39
accent
#E245C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #201552

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

Preview Lab → · Contrast checker → · Palette generator →

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