#20144E#20144E

#20144E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.101 H 286.0°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#20144E
RGBrgb(32, 20, 78)
HSLhsl(252, 59%, 19%)
HSVhsv(252, 74%, 31%)
CMYKcmyk(59%, 74.4%, 0%, 69.4%)
CIE-LABlab(11.67, 23.67, -33.73)
CIE-LCHlch(11.67, 41.21, 305.06°)
OKLaboklab(24.88% 0.0278 -0.0969)
OKLCHoklch(24.88% 0.101 286)
XYZxyz(2.2206, 1.3573, 7.3512)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20144E #424E14
analogous
#14254E #20144E #3D144E
triadic
#20144E #4E2014 #144E20
tetradic
#20144E #4E1425 #424E14 #144E3D
square
#20144E #4E1425 #424E14 #144E3D
split-complementary
#20144E #4E3D14 #254E14
monochromatic
#0A0618 #0C081D #20144E #34207F #482DAF

Accessibility & contrast

On white

16.52
#20144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20144E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20144E#FFFFFF#000000##FFFFFF
##20144E1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#0D232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #20144e;
/* rgb */ color: rgb(32, 20, 78);
/* oklch */ color: oklch(24.9% 0.101 286.0);
Tailwind
colors: {
  custom: {
    50: '#615280',
    500: '#20144e',
    950: '#000000',
  },
}
SCSS
$custom: #20144e;
$custom-light: #615280;
$custom-dark: #000000;
JSON
{
  "hex": "#20144e",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 252.414,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24875,
    "c": 0.10081,
    "h": 286
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#20144E
secondary
#768638
accent
#E245C2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20144E

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

Preview Lab → · Contrast checker → · Palette generator →

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