#201557#201557

#201557 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.112 H 282.9°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#201557
RGBrgb(32, 21, 87)
HSLhsl(250, 61%, 21%)
HSVhsv(250, 76%, 34%)
CMYKcmyk(63.2%, 75.9%, 0%, 65.9%)
CIE-LABlab(12.81, 26.17, -38.01)
CIE-LCHlch(12.81, 46.15, 304.55°)
OKLaboklab(25.97% 0.025 -0.1095)
OKLCHoklch(25.97% 0.112 282.9)
XYZxyz(2.5836, 1.5314, 9.1744)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201557 #4C5715
analogous
#152B57 #201557 #411557
triadic
#201557 #572015 #155720
tetradic
#201557 #57152B #4C5715 #155741
square
#201557 #57152B #4C5715 #155741
split-complementary
#201557 #574115 #2B5715
monochromatic
#090619 #0E0926 #201557 #322188 #442DBA

Accessibility & contrast

On white

16.07
#201557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#201557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201557
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201557#FFFFFF#000000##FFFFFF
##2015571.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#022734
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201557;
/* rgb */ color: rgb(32, 21, 87);
/* oklch */ color: oklch(26.0% 0.112 282.9);
Tailwind
colors: {
  custom: {
    50: '#635387',
    500: '#201557',
    950: '#000000',
  },
}
SCSS
$custom: #201557;
$custom-light: #635387;
$custom-dark: #000000;
JSON
{
  "hex": "#201557",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 250,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25966,
    "c": 0.11231,
    "h": 282.9
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#201557
secondary
#808F39
accent
#E444C9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201557

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

Preview Lab → · Contrast checker → · Palette generator →

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