#14042D#14042D

#14042D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.078 H 295.6°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#14042D
RGBrgb(20, 4, 45)
HSLhsl(263, 84%, 10%)
HSVhsv(263, 91%, 18%)
CMYKcmyk(55.6%, 91.1%, 0%, 82.4%)
CIE-LABlab(3.84, 16.45, -22.80)
CIE-LCHlch(3.84, 28.11, 305.80°)
OKLaboklab(17.15% 0.0338 -0.0705)
OKLCHoklch(17.15% 0.078 295.6)
XYZxyz(0.8054, 0.4250, 2.5217)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14042D #1D2D04
analogous
#04082D #14042D #29042D
triadic
#14042D #2D1404 #042D14
tetradic
#14042D #2D0408 #1D2D04 #042D29
square
#14042D #2D0408 #1D2D04 #042D29
split-complementary
#14042D #2D2904 #082D04
monochromatic
#0C021C #0C021C #14042D #2D0965 #460E9D

Accessibility & contrast

On white

19.35
#14042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#14042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14042D
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14042D#FFFFFF#000000##FFFFFF
##14042D1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#0D0E17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #14042d;
/* rgb */ color: rgb(20, 4, 45);
/* oklch */ color: oklch(17.2% 0.078 295.6);
Tailwind
colors: {
  custom: {
    50: '#534866',
    500: '#14042d',
    950: '#000000',
  },
}
SCSS
$custom: #14042d;
$custom-light: #534866;
$custom-dark: #000000;
JSON
{
  "hex": "#14042d",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 263.415,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1715,
    "c": 0.07823,
    "h": 295.6
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#14042D
secondary
#4F701D
accent
#FA2EAA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #14042D

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

Preview Lab → · Contrast checker → · Palette generator →

#14042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva