#20113D#20113D

#20113D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.080 H 294.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#20113D
RGBrgb(32, 17, 61)
HSLhsl(260, 56%, 15%)
HSVhsv(260, 72%, 24%)
CMYKcmyk(47.5%, 72.1%, 0%, 76.1%)
CIE-LABlab(9.36, 19.85, -25.57)
CIE-LCHlch(9.36, 32.37, 307.81°)
OKLaboklab(22.71% 0.0338 -0.0729)
OKLCHoklch(22.71% 0.08 294.9)
XYZxyz(1.6382, 1.0449, 4.5293)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20113D #2E3D11
analogous
#11183D #20113D #36113D
triadic
#20113D #3D2011 #113D20
tetradic
#20113D #3D1118 #2E3D11 #113D36
square
#20113D #3D1118 #2E3D11 #113D36
split-complementary
#20113D #3D3611 #183D11
monochromatic
#0D0718 #0D0718 #20113D #391E6D #522C9D

Accessibility & contrast

On white

17.37
#20113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#20113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20113D
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20113D#FFFFFF#000000##FFFFFF
##20113D1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#181B25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20113d;
/* rgb */ color: rgb(32, 17, 61);
/* oklch */ color: oklch(22.7% 0.080 294.9);
Tailwind
colors: {
  custom: {
    50: '#5e5073',
    500: '#20113d',
    950: '#000000',
  },
}
SCSS
$custom: #20113d;
$custom-light: #5e5073;
$custom-dark: #000000;
JSON
{
  "hex": "#20113d",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 260.455,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22714,
    "c": 0.0804,
    "h": 294.9
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#20113D
secondary
#607633
accent
#E048AC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #20113D

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

Preview Lab → · Contrast checker → · Palette generator →

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