#20144F#20144F

#20144F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.102 H 285.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#20144F
RGBrgb(32, 20, 79)
HSLhsl(252, 60%, 19%)
HSVhsv(252, 75%, 31%)
CMYKcmyk(59.5%, 74.7%, 0%, 69%)
CIE-LABlab(11.77, 24.02, -34.26)
CIE-LCHlch(11.77, 41.84, 305.03°)
OKLaboklab(24.98% 0.0276 -0.0985)
OKLCHoklch(24.98% 0.102 285.7)
XYZxyz(2.2567, 1.3718, 7.5415)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20144F #434F14
analogous
#14264F #20144F #3E144F
triadic
#20144F #4F2014 #144F20
tetradic
#20144F #4F1426 #434F14 #144F3E
square
#20144F #4F1426 #434F14 #144F3E
split-complementary
#20144F #4F3E14 #264F14
monochromatic
#0A0618 #0C081E #20144F #342080 #482DB1

Accessibility & contrast

On white

16.48
#20144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20144F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20144F#FFFFFF#000000##FFFFFF
##20144F1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#0C232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #20144f;
/* rgb */ color: rgb(32, 20, 79);
/* oklch */ color: oklch(25.0% 0.102 285.7);
Tailwind
colors: {
  custom: {
    50: '#615281',
    500: '#20144f',
    950: '#000000',
  },
}
SCSS
$custom: #20144f;
$custom-light: #615281;
$custom-dark: #000000;
JSON
{
  "hex": "#20144f",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 252.203,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24976,
    "c": 0.10225,
    "h": 285.7
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#20144F
secondary
#778738
accent
#E345C3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #20144F

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

Preview Lab → · Contrast checker → · Palette generator →

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