#201548#201548

#201548 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.091 H 287.7°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#201548
RGBrgb(32, 21, 72)
HSLhsl(253, 55%, 18%)
HSVhsv(253, 71%, 28%)
CMYKcmyk(55.6%, 70.8%, 0%, 71.8%)
CIE-LABlab(11.35, 20.89, -30.09)
CIE-LCHlch(11.35, 36.64, 304.77°)
OKLaboklab(24.47% 0.0275 -0.0862)
OKLCHoklch(24.47% 0.091 287.7)
XYZxyz(2.0332, 1.3112, 6.2756)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201548 #3D4815
analogous
#152348 #201548 #391548
triadic
#201548 #482015 #154820
tetradic
#201548 #481523 #3D4815 #154839
square
#201548 #481523 #3D4815 #154839
split-complementary
#201548 #483915 #234815
monochromatic
#0B0718 #0B0719 #201548 #352377 #4A31A7

Accessibility & contrast

On white

16.64
#201548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#201548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201548
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201548#FFFFFF#000000##FFFFFF
##2015481.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#12212C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201548;
/* rgb */ color: rgb(32, 21, 72);
/* oklch */ color: oklch(24.5% 0.091 287.7);
Tailwind
colors: {
  custom: {
    50: '#60537b',
    500: '#201548',
    950: '#000000',
  },
}
SCSS
$custom: #201548;
$custom-light: #60537b;
$custom-dark: #000000;
JSON
{
  "hex": "#201548",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 252.941,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2447,
    "c": 0.09051,
    "h": 287.7
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#201548
secondary
#718039
accent
#DE4ABE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201548

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

Preview Lab → · Contrast checker → · Palette generator →

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