#20113F#20113F

#20113F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.083 H 293.8°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#20113F
RGBrgb(32, 17, 63)
HSLhsl(260, 58%, 16%)
HSVhsv(260, 73%, 25%)
CMYKcmyk(49.2%, 73%, 0%, 75.3%)
CIE-LABlab(9.54, 20.51, -26.71)
CIE-LCHlch(9.54, 33.68, 307.52°)
OKLaboklab(22.9% 0.0336 -0.0763)
OKLCHoklch(22.9% 0.083 293.8)
XYZxyz(1.6931, 1.0668, 4.8184)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20113F #303F11
analogous
#11193F #20113F #37113F
triadic
#20113F #3F2011 #113F20
tetradic
#20113F #3F1119 #303F11 #113F37
square
#20113F #3F1119 #303F11 #113F37
split-complementary
#20113F #3F3711 #193F11
monochromatic
#0C0718 #0C0718 #20113F #381E6F #512B9F

Accessibility & contrast

On white

17.31
#20113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20113F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20113F#FFFFFF#000000##FFFFFF
##20113F1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#171C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #20113f;
/* rgb */ color: rgb(32, 17, 63);
/* oklch */ color: oklch(22.9% 0.083 293.8);
Tailwind
colors: {
  custom: {
    50: '#5f5074',
    500: '#20113f',
    950: '#000000',
  },
}
SCSS
$custom: #20113f;
$custom-light: #5f5074;
$custom-dark: #000000;
JSON
{
  "hex": "#20113f",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 259.565,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22898,
    "c": 0.08337,
    "h": 293.8
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#20113F
secondary
#627833
accent
#E147AF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #20113F

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

Preview Lab → · Contrast checker → · Palette generator →

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