#20113A#20113A

#20113A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.076 H 296.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#20113A
RGBrgb(32, 17, 58)
HSLhsl(262, 55%, 15%)
HSVhsv(262, 71%, 23%)
CMYKcmyk(44.8%, 70.7%, 0%, 77.3%)
CIE-LABlab(9.10, 18.86, -23.84)
CIE-LCHlch(9.10, 30.40, 308.34°)
OKLaboklab(22.45% 0.0341 -0.0678)
OKLCHoklch(22.45% 0.076 296.7)
XYZxyz(1.5596, 1.0134, 4.1156)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20113A #2B3A11
analogous
#11173A #20113A #35113A
triadic
#20113A #3A2011 #113A20
tetradic
#20113A #3A1117 #2B3A11 #113A35
square
#20113A #3A1117 #2B3A11 #113A35
split-complementary
#20113A #3A3511 #173A11
monochromatic
#0D0718 #0D0718 #20113A #3A1F69 #542D99

Accessibility & contrast

On white

17.46
#20113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20113A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20113A#FFFFFF#000000##FFFFFF
##20113A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#1A1A23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20113a;
/* rgb */ color: rgb(32, 17, 58);
/* oklch */ color: oklch(22.4% 0.076 296.7);
Tailwind
colors: {
  custom: {
    50: '#5e4f70',
    500: '#20113a',
    950: '#000000',
  },
}
SCSS
$custom: #20113a;
$custom-light: #5e4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#20113a",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 261.951,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22446,
    "c": 0.07591,
    "h": 296.7
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#20113A
secondary
#5C7333
accent
#DE4AA8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #20113A

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

Preview Lab → · Contrast checker → · Palette generator →

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