#14022D#14022D

#14022D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.083 H 296.9°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#14022D
RGBrgb(20, 2, 45)
HSLhsl(265, 91%, 9%)
HSVhsv(265, 96%, 18%)
CMYKcmyk(55.6%, 95.6%, 0%, 82.4%)
CIE-LABlab(3.45, 17.25, -23.43)
CIE-LCHlch(3.45, 29.09, 306.36°)
OKLaboklab(16.69% 0.0374 -0.0737)
OKLCHoklch(16.69% 0.083 296.9)
XYZxyz(0.7837, 0.3816, 2.5145)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14022D #1B2D02
analogous
#02062D #14022D #2A022D
triadic
#14022D #2D1402 #022D14
tetradic
#14022D #2D0206 #1B2D02 #022D2A
square
#14022D #2D0206 #1B2D02 #022D2A
split-complementary
#14022D #2D2A02 #062D02
monochromatic
#0D011D #0D011D #14022D #2E0568 #4807A2

Accessibility & contrast

On white

19.51
#14022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#14022D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14022D
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14022D#FFFFFF#000000##FFFFFF
##14022D1.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#0D0D17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #14022d;
/* rgb */ color: rgb(20, 2, 45);
/* oklch */ color: oklch(16.7% 0.083 296.9);
Tailwind
colors: {
  custom: {
    50: '#534766',
    500: '#14022d',
    950: '#000000',
  },
}
SCSS
$custom: #14022d;
$custom-light: #534766;
$custom-dark: #000000;
JSON
{
  "hex": "#14022d",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 265.116,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16691,
    "c": 0.08262,
    "h": 296.9
  },
  "luminance": 0.00382
}

Semantic roles & 50–950 ramp

primary
#14022D
secondary
#4D7219
accent
#FF29A5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #14022D

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

Preview Lab → · Contrast checker → · Palette generator →

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