#201556#201556

#201556 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.111 H 283.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#201556
RGBrgb(32, 21, 86)
HSLhsl(250, 61%, 21%)
HSVhsv(250, 76%, 34%)
CMYKcmyk(62.8%, 75.6%, 0%, 66.3%)
CIE-LABlab(12.70, 25.82, -37.51)
CIE-LCHlch(12.70, 45.53, 304.55°)
OKLaboklab(25.86% 0.0253 -0.108)
OKLCHoklch(25.86% 0.111 283.2)
XYZxyz(2.5430, 1.5151, 8.9607)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201556 #4B5615
analogous
#152A56 #201556 #401556
triadic
#201556 #562015 #155620
tetradic
#201556 #56152A #4B5615 #155640
square
#201556 #56152A #4B5615 #155640
split-complementary
#201556 #564015 #2A5615
monochromatic
#090619 #0E0925 #201556 #322187 #452DB8

Accessibility & contrast

On white

16.12
#201556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201556
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201556#FFFFFF#000000##FFFFFF
##2015561.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#032633
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201556;
/* rgb */ color: rgb(32, 21, 86);
/* oklch */ color: oklch(25.9% 0.111 283.2);
Tailwind
colors: {
  custom: {
    50: '#635386',
    500: '#201556',
    950: '#000000',
  },
}
SCSS
$custom: #201556;
$custom-light: #635386;
$custom-dark: #000000;
JSON
{
  "hex": "#201556",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 250.154,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25862,
    "c": 0.11089,
    "h": 283.2
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#201556
secondary
#7F8E39
accent
#E444C9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201556

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

Preview Lab → · Contrast checker → · Palette generator →

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