#201546#201546

#201546 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.087 H 288.5°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#201546
RGBrgb(32, 21, 70)
HSLhsl(253, 54%, 18%)
HSVhsv(253, 70%, 27%)
CMYKcmyk(54.3%, 70%, 0%, 72.5%)
CIE-LABlab(11.17, 20.19, -28.99)
CIE-LCHlch(11.17, 35.33, 304.86°)
OKLaboklab(24.28% 0.0277 -0.083)
OKLCHoklch(24.28% 0.087 288.5)
XYZxyz(1.9690, 1.2855, 5.9375)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201546 #3B4615
analogous
#152346 #201546 #381546
triadic
#201546 #462015 #154620
tetradic
#201546 #461523 #3B4615 #154638
square
#201546 #461523 #3B4615 #154638
split-complementary
#201546 #463815 #234615
monochromatic
#0B0718 #0B0718 #201546 #362375 #4B31A4

Accessibility & contrast

On white

16.70
#201546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201546
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201546#FFFFFF#000000##FFFFFF
##2015461.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#13212B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201546;
/* rgb */ color: rgb(32, 21, 70);
/* oklch */ color: oklch(24.3% 0.087 288.5);
Tailwind
colors: {
  custom: {
    50: '#5f537a',
    500: '#201546',
    950: '#000000',
  },
}
SCSS
$custom: #201546;
$custom-light: #5f537a;
$custom-dark: #000000;
JSON
{
  "hex": "#201546",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 253.469,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24283,
    "c": 0.08749,
    "h": 288.5
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#201546
secondary
#6E7E39
accent
#DD4BBC
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201546

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

Preview Lab → · Contrast checker → · Palette generator →

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