#201541#201541

#201541 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.080 H 290.6°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#201541
RGBrgb(32, 21, 65)
HSLhsl(255, 51%, 17%)
HSVhsv(255, 68%, 25%)
CMYKcmyk(50.8%, 67.7%, 0%, 74.5%)
CIE-LABlab(10.74, 18.45, -26.18)
CIE-LCHlch(10.74, 32.03, 305.17°)
OKLaboklab(23.83% 0.028 -0.0747)
OKLCHoklch(23.83% 0.08 290.6)
XYZxyz(1.8177, 1.2250, 5.1407)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201541 #364115
analogous
#152041 #201541 #361541
triadic
#201541 #412015 #154120
tetradic
#201541 #411520 #364115 #154136
square
#201541 #411520 #364115 #154136
split-complementary
#201541 #413615 #204115
monochromatic
#0B0717 #0B0717 #201541 #37246F #4E339E

Accessibility & contrast

On white

16.87
#201541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201541
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201541#FFFFFF#000000##FFFFFF
##2015411.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#161F28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201541;
/* rgb */ color: rgb(32, 21, 65);
/* oklch */ color: oklch(23.8% 0.080 290.6);
Tailwind
colors: {
  custom: {
    50: '#5f5276',
    500: '#201541',
    950: '#000000',
  },
}
SCSS
$custom: #201541;
$custom-light: #5f5276;
$custom-dark: #000000;
JSON
{
  "hex": "#201541",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 255,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.07981,
    "h": 290.6
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#201541
secondary
#697939
accent
#DB4DB7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201541

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

Preview Lab → · Contrast checker → · Palette generator →

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