#20114D#20114D

#20114D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.103 H 287.5°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#20114D
RGBrgb(32, 17, 77)
HSLhsl(255, 64%, 18%)
HSVhsv(255, 78%, 30%)
CMYKcmyk(58.4%, 77.9%, 0%, 69.8%)
CIE-LABlab(10.88, 25.24, -34.34)
CIE-LCHlch(10.88, 42.62, 306.31°)
OKLaboklab(24.28% 0.0311 -0.0987)
OKLCHoklch(24.28% 0.103 287.5)
XYZxyz(2.1353, 1.2437, 7.1473)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20114D #3E4D11
analogous
#11204D #20114D #3E114D
triadic
#20114D #4D2011 #114D20
tetradic
#20114D #4D1120 #3E4D11 #114D3E
square
#20114D #4D1120 #3E4D11 #114D3E
split-complementary
#20114D #4D3E11 #204D11
monochromatic
#0A0619 #0B061B #20114D #351C7F #4A27B1

Accessibility & contrast

On white

16.82
#20114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#20114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20114D
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20114D#FFFFFF#000000##FFFFFF
##20114D1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#0E212D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20114d;
/* rgb */ color: rgb(32, 17, 77);
/* oklch */ color: oklch(24.3% 0.103 287.5);
Tailwind
colors: {
  custom: {
    50: '#61507f',
    500: '#20114d',
    950: '#000000',
  },
}
SCSS
$custom: #20114d;
$custom-light: #61507f;
$custom-dark: #000000;
JSON
{
  "hex": "#20114d",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 255,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24276,
    "c": 0.10348,
    "h": 287.5
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#20114D
secondary
#728633
accent
#E741BD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20114D

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

Preview Lab → · Contrast checker → · Palette generator →

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