#201551#201551

#201551 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.104 H 284.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#201551
RGBrgb(32, 21, 81)
HSLhsl(251, 59%, 20%)
HSVhsv(251, 74%, 32%)
CMYKcmyk(60.5%, 74.1%, 0%, 68.2%)
CIE-LABlab(12.20, 24.06, -34.92)
CIE-LCHlch(12.20, 42.41, 304.57°)
OKLaboklab(25.35% 0.0262 -0.1004)
OKLCHoklch(25.35% 0.104 284.6)
XYZxyz(2.3486, 1.4374, 7.9367)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201551 #465115
analogous
#152851 #201551 #3E1551
triadic
#201551 #512015 #155120
tetradic
#201551 #511528 #465115 #15513E
square
#201551 #511528 #465115 #15513E
split-complementary
#201551 #513E15 #285115
monochromatic
#0A0618 #0D0820 #201551 #332282 #462EB2

Accessibility & contrast

On white

16.31
#201551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201551
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201551#FFFFFF#000000##FFFFFF
##2015511.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#092431
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201551;
/* rgb */ color: rgb(32, 21, 81);
/* oklch */ color: oklch(25.3% 0.104 284.6);
Tailwind
colors: {
  custom: {
    50: '#625382',
    500: '#201551',
    950: '#000000',
  },
}
SCSS
$custom: #201551;
$custom-light: #625382;
$custom-dark: #000000;
JSON
{
  "hex": "#201551",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 251,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.25349,
    "c": 0.10376,
    "h": 284.6
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#201551
secondary
#7A8939
accent
#E246C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #201551

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

Preview Lab → · Contrast checker → · Palette generator →

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