#20113C#20113C

#20113C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.079 H 295.5°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#20113C
RGBrgb(32, 17, 60)
HSLhsl(261, 56%, 15%)
HSVhsv(261, 72%, 24%)
CMYKcmyk(46.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(9.27, 19.51, -25.00)
CIE-LCHlch(9.27, 31.71, 307.97°)
OKLaboklab(22.62% 0.0339 -0.0712)
OKLCHoklch(22.62% 0.079 295.5)
XYZxyz(1.6115, 1.0342, 4.3888)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20113C #2D3C11
analogous
#11183C #20113C #35113C
triadic
#20113C #3C2011 #113C20
tetradic
#20113C #3C1118 #2D3C11 #113C35
square
#20113C #3C1118 #2D3C11 #113C35
split-complementary
#20113C #3C3511 #183C11
monochromatic
#0D0718 #0D0718 #20113C #391F6C #532C9B

Accessibility & contrast

On white

17.40
#20113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20113C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20113C#FFFFFF#000000##FFFFFF
##20113C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#191B24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20113c;
/* rgb */ color: rgb(32, 17, 60);
/* oklch */ color: oklch(22.6% 0.079 295.5);
Tailwind
colors: {
  custom: {
    50: '#5e4f72',
    500: '#20113c',
    950: '#000000',
  },
}
SCSS
$custom: #20113c;
$custom-light: #5e4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#20113c",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 260.93,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22624,
    "c": 0.07891,
    "h": 295.5
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#20113C
secondary
#5E7533
accent
#DF49AB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #20113C

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

Preview Lab → · Contrast checker → · Palette generator →

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