#14031F#14031F

#14031F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.062 H 310.2°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#14031F
RGBrgb(20, 3, 31)
HSLhsl(276, 82%, 7%)
HSVhsv(276, 90%, 12%)
CMYKcmyk(35.5%, 90.3%, 0%, 87.8%)
CIE-LABlab(2.83, 11.10, -13.56)
CIE-LCHlch(2.83, 17.53, 309.30°)
OKLaboklab(15.41% 0.0401 -0.0475)
OKLCHoklch(15.41% 0.062 310.2)
XYZxyz(0.5683, 0.3128, 1.3265)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14031F #0E1F03
analogous
#06031F #14031F #1F031C
triadic
#14031F #1F1403 #031F14
tetradic
#14031F #1F0603 #0E1F03 #031C1F
square
#14031F #1F0603 #0E1F03 #031C1F
split-complementary
#14031F #1C1F03 #031F06
monochromatic
#12031C #12031C #14031F #380857 #5C0E8F

Accessibility & contrast

On white

19.76
#14031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#14031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14031F
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14031F#FFFFFF#000000##FFFFFF
##14031F1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000920
Deuteranopia (green-blind)
#010B1E
Tritanopia (blue-blind)
#12080F
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #14031f;
/* rgb */ color: rgb(20, 3, 31);
/* oklch */ color: oklch(15.4% 0.062 310.2);
Tailwind
colors: {
  custom: {
    50: '#51485a',
    500: '#14031f',
    950: '#000000',
  },
}
SCSS
$custom: #14031f;
$custom-light: #51485a;
$custom-dark: #000000;
JSON
{
  "hex": "#14031f",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 276.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15409,
    "c": 0.06218,
    "h": 310.2
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#14031F
secondary
#37631B
accent
#F92F7E
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #14031F

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

Preview Lab → · Contrast checker → · Palette generator →

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