#20114B#20114B

#20114B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.101 H 288.3°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#20114B
RGBrgb(32, 17, 75)
HSLhsl(256, 63%, 18%)
HSVhsv(256, 77%, 29%)
CMYKcmyk(57.3%, 77.3%, 0%, 70.6%)
CIE-LABlab(10.67, 24.56, -33.29)
CIE-LCHlch(10.67, 41.37, 306.42°)
OKLaboklab(24.07% 0.0316 -0.0956)
OKLCHoklch(24.07% 0.101 288.3)
XYZxyz(2.0657, 1.2159, 6.7811)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20114B #3C4B11
analogous
#111F4B #20114B #3D114B
triadic
#20114B #4B2011 #114B20
tetradic
#20114B #4B111F #3C4B11 #114B3D
square
#20114B #4B111F #3C4B11 #114B3D
split-complementary
#20114B #4B3D11 #1F4B11
monochromatic
#0B0619 #0B0619 #20114B #351C7D #4B28AF

Accessibility & contrast

On white

16.89
#20114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#20114B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20114B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20114B#FFFFFF#000000##FFFFFF
##20114B1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#10202C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20114b;
/* rgb */ color: rgb(32, 17, 75);
/* oklch */ color: oklch(24.1% 0.101 288.3);
Tailwind
colors: {
  custom: {
    50: '#61507e',
    500: '#20114b',
    950: '#000000',
  },
}
SCSS
$custom: #20114b;
$custom-light: #61507e;
$custom-dark: #000000;
JSON
{
  "hex": "#20114b",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 255.517,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2407,
    "c": 0.10067,
    "h": 288.3
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#20114B
secondary
#6F8433
accent
#E642BC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20114B

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

Preview Lab → · Contrast checker → · Palette generator →

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