#20144C#20144C

#20144C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 286.7°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#20144C
RGBrgb(32, 20, 76)
HSLhsl(253, 58%, 19%)
HSVhsv(253, 74%, 30%)
CMYKcmyk(57.9%, 73.7%, 0%, 70.2%)
CIE-LABlab(11.48, 22.97, -32.67)
CIE-LCHlch(11.48, 39.93, 305.11°)
OKLaboklab(24.68% 0.0281 -0.0938)
OKLCHoklch(24.68% 0.098 286.7)
XYZxyz(2.1499, 1.3291, 6.9793)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20144C #404C14
analogous
#14244C #20144C #3C144C
triadic
#20144C #4C2014 #144C20
tetradic
#20144C #4C1424 #404C14 #144C3C
square
#20144C #4C1424 #404C14 #144C3C
split-complementary
#20144C #4C3C14 #244C14
monochromatic
#0A0618 #0C071C #20144C #34217C #492EAD

Accessibility & contrast

On white

16.59
#20144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#20144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20144C
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20144C#FFFFFF#000000##FFFFFF
##20144C1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#0F222E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20144c;
/* rgb */ color: rgb(32, 20, 76);
/* oklch */ color: oklch(24.7% 0.098 286.7);
Tailwind
colors: {
  custom: {
    50: '#61527f',
    500: '#20144c',
    950: '#000000',
  },
}
SCSS
$custom: #20144c;
$custom-light: #61527f;
$custom-dark: #000000;
JSON
{
  "hex": "#20144c",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 252.857,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24676,
    "c": 0.09791,
    "h": 286.7
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#20144C
secondary
#748438
accent
#E246C0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20144C

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

Preview Lab → · Contrast checker → · Palette generator →

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