#201528#201528

#201528 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.9% C 0.039 H 310.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#201528
RGBrgb(32, 21, 40)
HSLhsl(275, 31%, 12%)
HSVhsv(275, 48%, 16%)
CMYKcmyk(20%, 47.5%, 0%, 84.3%)
CIE-LABlab(8.96, 10.32, -10.88)
CIE-LCHlch(8.96, 15.00, 313.49°)
OKLaboklab(21.93% 0.0253 -0.0301)
OKLCHoklch(21.93% 0.039 310)
XYZxyz(1.2468, 0.9966, 2.1338)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201528 #1D2815
analogous
#171528 #201528 #281527
triadic
#201528 #282015 #152820
tetradic
#201528 #281715 #1D2815 #152728
square
#201528 #281715 #1D2815 #152728
split-complementary
#201528 #272815 #152817
monochromatic
#100B14 #100B14 #201528 #402A50 #603F78

Accessibility & contrast

On white

17.51
#201528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201528
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201528#FFFFFF#000000##FFFFFF
##2015281.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111929
Deuteranopia (green-blind)
#141A27
Tritanopia (blue-blind)
#1F181C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201528;
/* rgb */ color: rgb(32, 21, 40);
/* oklch */ color: oklch(21.9% 0.039 310.0);
Tailwind
colors: {
  custom: {
    50: '#5b5262',
    500: '#201528',
    950: '#000000',
  },
}
SCSS
$custom: #201528;
$custom-light: #5b5262;
$custom-dark: #000000;
JSON
{
  "hex": "#201528",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 274.737,
    "s": 31.148,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.03926,
    "h": 310
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#201528
secondary
#4A5D3C
accent
#C7608C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #201528

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

Preview Lab → · Contrast checker → · Palette generator →

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