#20114A#20114A

#20114A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.099 H 288.7°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#20114A
RGBrgb(32, 17, 74)
HSLhsl(256, 63%, 18%)
HSVhsv(256, 77%, 29%)
CMYKcmyk(56.8%, 77%, 0%, 71%)
CIE-LABlab(10.57, 24.22, -32.76)
CIE-LCHlch(10.57, 40.74, 306.48°)
OKLaboklab(23.97% 0.0318 -0.094)
OKLCHoklch(23.97% 0.099 288.7)
XYZxyz(2.0318, 1.2023, 6.6022)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20114A #3B4A11
analogous
#111F4A #20114A #3C114A
triadic
#20114A #4A2011 #114A20
tetradic
#20114A #4A111F #3B4A11 #114A3C
square
#20114A #4A111F #3B4A11 #114A3C
split-complementary
#20114A #4A3C11 #1F4A11
monochromatic
#0B0619 #0B0619 #20114A #361C7C #4B28AE

Accessibility & contrast

On white

16.93
#20114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20114A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20114A#FFFFFF#000000##FFFFFF
##20114A1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#11202C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20114a;
/* rgb */ color: rgb(32, 17, 74);
/* oklch */ color: oklch(24.0% 0.099 288.7);
Tailwind
colors: {
  custom: {
    50: '#61507d',
    500: '#20114a',
    950: '#000000',
  },
}
SCSS
$custom: #20114a;
$custom-light: #61507d;
$custom-dark: #000000;
JSON
{
  "hex": "#20114a",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 255.789,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23968,
    "c": 0.09926,
    "h": 288.7
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#20114A
secondary
#6E8333
accent
#E642BB
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20114A

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

Preview Lab → · Contrast checker → · Palette generator →

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