#14012D#14012D

#14012D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.085 H 297.5°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#14012D
RGBrgb(20, 1, 45)
HSLhsl(266, 96%, 9%)
HSVhsv(266, 98%, 18%)
CMYKcmyk(55.6%, 97.8%, 0%, 82.4%)
CIE-LABlab(3.25, 17.65, -23.74)
CIE-LCHlch(3.25, 29.58, 306.63°)
OKLaboklab(16.45% 0.0393 -0.0753)
OKLCHoklch(16.45% 0.085 297.5)
XYZxyz(0.7729, 0.3599, 2.5109)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14012D #1A2D01
analogous
#01042D #14012D #2A012D
triadic
#14012D #2D1401 #012D14
tetradic
#14012D #2D0104 #1A2D01 #012D2A
square
#14012D #2D0104 #1A2D01 #012D2A
split-complementary
#14012D #2D2A01 #042D01
monochromatic
#0D011E #0D011E #14012D #2F0269 #4904A5

Accessibility & contrast

On white

19.59
#14012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#14012D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14012D
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14012D#FFFFFF#000000##FFFFFF
##14012D1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#0D0C16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #14012d;
/* rgb */ color: rgb(20, 1, 45);
/* oklch */ color: oklch(16.5% 0.085 297.5);
Tailwind
colors: {
  custom: {
    50: '#534666',
    500: '#14012d',
    950: '#000000',
  },
}
SCSS
$custom: #14012d;
$custom-light: #534666;
$custom-dark: #000000;
JSON
{
  "hex": "#14012d",
  "rgb": {
    "r": 20,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 265.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16452,
    "c": 0.08496,
    "h": 297.5
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#14012D
secondary
#4B7317
accent
#FF29A3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #14012D

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

Preview Lab → · Contrast checker → · Palette generator →

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