#14042F#14042F

#14042F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.081 H 294.1°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#14042F
RGBrgb(20, 4, 47)
HSLhsl(262, 84%, 10%)
HSVhsv(262, 91%, 18%)
CMYKcmyk(57.4%, 91.5%, 0%, 81.6%)
CIE-LABlab(3.98, 17.45, -24.08)
CIE-LCHlch(3.98, 29.74, 305.93°)
OKLaboklab(17.38% 0.0331 -0.0738)
OKLCHoklch(17.38% 0.081 294.1)
XYZxyz(0.8449, 0.4408, 2.7293)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14042F #1F2F04
analogous
#04092F #14042F #2A042F
triadic
#14042F #2F1404 #042F14
tetradic
#14042F #2F0409 #1F2F04 #042F2A
square
#14042F #2F0409 #1F2F04 #042F2A
split-complementary
#14042F #2F2A04 #092F04
monochromatic
#0C021C #0C021C #14042F #2C0967 #440EA0

Accessibility & contrast

On white

19.30
#14042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14042F
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14042F#FFFFFF#000000##FFFFFF
##14042F1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#0C0F19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #14042f;
/* rgb */ color: rgb(20, 4, 47);
/* oklch */ color: oklch(17.4% 0.081 294.1);
Tailwind
colors: {
  custom: {
    50: '#534868',
    500: '#14042f',
    950: '#000000',
  },
}
SCSS
$custom: #14042f;
$custom-light: #534868;
$custom-dark: #000000;
JSON
{
  "hex": "#14042f",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 262.326,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.1738,
    "c": 0.08091,
    "h": 294.1
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#14042F
secondary
#52721D
accent
#FB2DAE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #14042F

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

Preview Lab → · Contrast checker → · Palette generator →

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