#20153D#20153D

#20153D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.074 H 292.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#20153D
RGBrgb(32, 21, 61)
HSLhsl(257, 49%, 16%)
HSVhsv(257, 66%, 24%)
CMYKcmyk(47.5%, 65.6%, 0%, 76.1%)
CIE-LABlab(10.41, 17.07, -23.88)
CIE-LCHlch(10.41, 29.35, 305.56°)
OKLaboklab(23.48% 0.0281 -0.0679)
OKLCHoklch(23.48% 0.074 292.5)
XYZxyz(1.7059, 1.1803, 4.5519)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20153D #323D15
analogous
#151E3D #20153D #34153D
triadic
#20153D #3D2015 #153D20
tetradic
#20153D #3D151E #323D15 #153D34
square
#20153D #3D151E #323D15 #153D34
split-complementary
#20153D #3D3415 #1E3D15
monochromatic
#0C0817 #0C0817 #20153D #38256B #503498

Accessibility & contrast

On white

16.99
#20153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#20153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20153D
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20153D#FFFFFF#000000##FFFFFF
##20153D1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#041C3C
Tritanopia (blue-blind)
#181E26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #20153d;
/* rgb */ color: rgb(32, 21, 61);
/* oklch */ color: oklch(23.5% 0.074 292.5);
Tailwind
colors: {
  custom: {
    50: '#5e5273',
    500: '#20153d',
    950: '#000000',
  },
}
SCSS
$custom: #20153d;
$custom-light: #5e5273;
$custom-dark: #000000;
JSON
{
  "hex": "#20153d",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 256.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23483,
    "c": 0.07353,
    "h": 292.5
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#20153D
secondary
#647539
accent
#D84FB3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #20153D

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

Preview Lab → · Contrast checker → · Palette generator →

#20153D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva