#20153B#20153B

#20153B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.3% C 0.070 H 293.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#20153B
RGBrgb(32, 21, 59)
HSLhsl(257, 48%, 16%)
HSVhsv(257, 64%, 23%)
CMYKcmyk(45.8%, 64.4%, 0%, 76.9%)
CIE-LABlab(10.25, 16.39, -22.71)
CIE-LCHlch(10.25, 28.00, 305.82°)
OKLaboklab(23.32% 0.0281 -0.0645)
OKLCHoklch(23.32% 0.07 293.5)
XYZxyz(1.6530, 1.1591, 4.2735)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20153B #303B15
analogous
#151D3B #20153B #33153B
triadic
#20153B #3B2015 #153B20
tetradic
#20153B #3B151D #303B15 #153B33
square
#20153B #3B151D #303B15 #153B33
split-complementary
#20153B #3B3315 #1D3B15
monochromatic
#0C0817 #0C0817 #20153B #382568 #513595

Accessibility & contrast

On white

17.05
#20153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#20153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20153B
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20153B#FFFFFF#000000##FFFFFF
##20153B1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#191D25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #20153b;
/* rgb */ color: rgb(32, 21, 59);
/* oklch */ color: oklch(23.3% 0.070 293.5);
Tailwind
colors: {
  custom: {
    50: '#5e5271',
    500: '#20153b',
    950: '#000000',
  },
}
SCSS
$custom: #20153b;
$custom-light: #5e5271;
$custom-dark: #000000;
JSON
{
  "hex": "#20153b",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 257.368,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23315,
    "c": 0.07036,
    "h": 293.5
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#20153B
secondary
#627239
accent
#D751B0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20153B

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

Preview Lab → · Contrast checker → · Palette generator →

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