#14012B#14012B

#14012B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.083 H 299.2°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#14012B
RGBrgb(20, 1, 43)
HSLhsl(267, 95%, 9%)
HSVhsv(267, 98%, 17%)
CMYKcmyk(53.5%, 97.7%, 0%, 83.1%)
CIE-LABlab(3.11, 16.70, -22.43)
CIE-LCHlch(3.11, 27.96, 306.66°)
OKLaboklab(16.21% 0.0403 -0.0721)
OKLCHoklch(16.21% 0.083 299.2)
XYZxyz(0.7353, 0.3448, 2.3129)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14012B #182B01
analogous
#01032B #14012B #29012B
triadic
#14012B #2B1401 #012B14
tetradic
#14012B #2B0103 #182B01 #012B29
square
#14012B #2B0103 #182B01 #012B29
split-complementary
#14012B #2B2901 #032B01
monochromatic
#0E011E #0E011E #14012B #300267 #4C04A3

Accessibility & contrast

On white

19.64
#14012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14012B
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14012B#FFFFFF#000000##FFFFFF
##14012B1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#0E0B15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #14012b;
/* rgb */ color: rgb(20, 1, 43);
/* oklch */ color: oklch(16.2% 0.083 299.2);
Tailwind
colors: {
  custom: {
    50: '#524664',
    500: '#14012b',
    950: '#000000',
  },
}
SCSS
$custom: #14012b;
$custom-light: #524664;
$custom-dark: #000000;
JSON
{
  "hex": "#14012b",
  "rgb": {
    "r": 20,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 267.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16206,
    "c": 0.08262,
    "h": 299.2
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#14012B
secondary
#487117
accent
#FF299E
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #14012B

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

Preview Lab → · Contrast checker → · Palette generator →

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