#20144A#20144A

#20144A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.095 H 287.4°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#20144A
RGBrgb(32, 20, 74)
HSLhsl(253, 57%, 18%)
HSVhsv(253, 73%, 29%)
CMYKcmyk(56.8%, 73%, 0%, 71%)
CIE-LABlab(11.29, 22.27, -31.59)
CIE-LCHlch(11.29, 38.65, 305.18°)
OKLaboklab(24.48% 0.0284 -0.0906)
OKLCHoklch(24.48% 0.095 287.4)
XYZxyz(2.0815, 1.3017, 6.6188)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20144A #3E4A14
analogous
#14234A #20144A #3B144A
triadic
#20144A #4A2014 #144A20
tetradic
#20144A #4A1423 #3E4A14 #144A3B
square
#20144A #4A1423 #3E4A14 #144A3B
split-complementary
#20144A #4A3B14 #234A14
monochromatic
#0A0718 #0B071A #20144A #35217A #4A2EAA

Accessibility & contrast

On white

16.66
#20144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20144A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20144A#FFFFFF#000000##FFFFFF
##20144A1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#10212D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #20144a;
/* rgb */ color: rgb(32, 20, 74);
/* oklch */ color: oklch(24.5% 0.095 287.4);
Tailwind
colors: {
  custom: {
    50: '#60527d',
    500: '#20144a',
    950: '#000000',
  },
}
SCSS
$custom: #20144a;
$custom-light: #60527d;
$custom-dark: #000000;
JSON
{
  "hex": "#20144a",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 253.333,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2448,
    "c": 0.09498,
    "h": 287.4
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20144A

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

Preview Lab → · Contrast checker → · Palette generator →

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