#20113B#20113B

#20113B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.077 H 296.0°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#20113B
RGBrgb(32, 17, 59)
HSLhsl(261, 55%, 15%)
HSVhsv(261, 71%, 23%)
CMYKcmyk(45.8%, 71.2%, 0%, 76.9%)
CIE-LABlab(9.19, 19.18, -24.42)
CIE-LCHlch(9.19, 31.06, 308.15°)
OKLaboklab(22.53% 0.034 -0.0695)
OKLCHoklch(22.53% 0.077 296)
XYZxyz(1.5853, 1.0237, 4.2509)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20113B #2C3B11
analogous
#11173B #20113B #35113B
triadic
#20113B #3B2011 #113B20
tetradic
#20113B #3B1117 #2C3B11 #113B35
square
#20113B #3B1117 #2C3B11 #113B35
split-complementary
#20113B #3B3511 #173B11
monochromatic
#0D0718 #0D0718 #20113B #3A1F6B #542C9A

Accessibility & contrast

On white

17.43
#20113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20113B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20113B#FFFFFF#000000##FFFFFF
##20113B1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#01193A
Tritanopia (blue-blind)
#191A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20113b;
/* rgb */ color: rgb(32, 17, 59);
/* oklch */ color: oklch(22.5% 0.077 296.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f71',
    500: '#20113b',
    950: '#000000',
  },
}
SCSS
$custom: #20113b;
$custom-light: #5e4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#20113b",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 261.429,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22534,
    "c": 0.07741,
    "h": 296
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#20113B
secondary
#5D7433
accent
#DF49A9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #20113B

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

Preview Lab → · Contrast checker → · Palette generator →

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