#20114C#20114C

#20114C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.102 H 287.9°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#20114C
RGBrgb(32, 17, 76)
HSLhsl(255, 63%, 18%)
HSVhsv(255, 78%, 30%)
CMYKcmyk(57.9%, 77.6%, 0%, 70.2%)
CIE-LABlab(10.77, 24.90, -33.81)
CIE-LCHlch(10.77, 41.99, 306.36°)
OKLaboklab(24.17% 0.0313 -0.0971)
OKLCHoklch(24.17% 0.102 287.9)
XYZxyz(2.1002, 1.2297, 6.9628)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20114C #3D4C11
analogous
#111F4C #20114C #3D114C
triadic
#20114C #4C2011 #114C20
tetradic
#20114C #4C111F #3D4C11 #114C3D
square
#20114C #4C111F #3D4C11 #114C3D
split-complementary
#20114C #4C3D11 #1F4C11
monochromatic
#0B0619 #0B061A #20114C #351C7E #4A27B0

Accessibility & contrast

On white

16.85
#20114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20114C
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20114C#FFFFFF#000000##FFFFFF
##20114C1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#0F202D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #20114c;
/* rgb */ color: rgb(32, 17, 76);
/* oklch */ color: oklch(24.2% 0.102 287.9);
Tailwind
colors: {
  custom: {
    50: '#61507f',
    500: '#20114c',
    950: '#000000',
  },
}
SCSS
$custom: #20114c;
$custom-light: #61507f;
$custom-dark: #000000;
JSON
{
  "hex": "#20114c",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 255.254,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24173,
    "c": 0.10208,
    "h": 287.9
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#20114C
secondary
#718533
accent
#E641BC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20114C

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

Preview Lab → · Contrast checker → · Palette generator →

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