#20144B#20144B

#20144B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.096 H 287.0°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#20144B
RGBrgb(32, 20, 75)
HSLhsl(253, 58%, 19%)
HSVhsv(253, 73%, 29%)
CMYKcmyk(57.3%, 73.3%, 0%, 70.6%)
CIE-LABlab(11.38, 22.62, -32.13)
CIE-LCHlch(11.38, 39.29, 305.14°)
OKLaboklab(24.58% 0.0283 -0.0922)
OKLCHoklch(24.58% 0.096 287)
XYZxyz(2.1154, 1.3153, 6.7977)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20144B #3F4B14
analogous
#14234B #20144B #3B144B
triadic
#20144B #4B2014 #144B20
tetradic
#20144B #4B1423 #3F4B14 #144B3B
square
#20144B #4B1423 #3F4B14 #144B3B
split-complementary
#20144B #4B3B14 #234B14
monochromatic
#0A0618 #0B071B #20144B #35217B #492EAC

Accessibility & contrast

On white

16.63
#20144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#20144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20144B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20144B#FFFFFF#000000##FFFFFF
##20144B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#10222D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20144b;
/* rgb */ color: rgb(32, 20, 75);
/* oklch */ color: oklch(24.6% 0.096 287.0);
Tailwind
colors: {
  custom: {
    50: '#61527e',
    500: '#20144b',
    950: '#000000',
  },
}
SCSS
$custom: #20144b;
$custom-light: #61527e;
$custom-dark: #000000;
JSON
{
  "hex": "#20144b",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 253.091,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24578,
    "c": 0.09645,
    "h": 287
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#20144B
secondary
#738338
accent
#E147BF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #20144B

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

Preview Lab → · Contrast checker → · Palette generator →

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