#14042B#14042B

#14042B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.076 H 297.2°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#14042B
RGBrgb(20, 4, 43)
HSLhsl(265, 83%, 9%)
HSVhsv(265, 91%, 17%)
CMYKcmyk(53.5%, 90.7%, 0%, 83.1%)
CIE-LABlab(3.70, 15.49, -21.50)
CIE-LCHlch(3.70, 26.50, 305.76°)
OKLaboklab(16.92% 0.0345 -0.0672)
OKLCHoklch(16.92% 0.076 297.2)
XYZxyz(0.7678, 0.4100, 2.3237)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14042B #1B2B04
analogous
#04082B #14042B #28042B
triadic
#14042B #2B1404 #042B14
tetradic
#14042B #2B0408 #1B2B04 #042B28
square
#14042B #2B0408 #1B2B04 #042B28
split-complementary
#14042B #2B2804 #082B04
monochromatic
#0D031C #0D031C #14042B #2E0963 #480E9B

Accessibility & contrast

On white

19.41
#14042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#14042B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14042B
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14042B#FFFFFF#000000##FFFFFF
##14042B1.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#0E0D16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #14042b;
/* rgb */ color: rgb(20, 4, 43);
/* oklch */ color: oklch(16.9% 0.076 297.2);
Tailwind
colors: {
  custom: {
    50: '#524864',
    500: '#14042b',
    950: '#000000',
  },
}
SCSS
$custom: #14042b;
$custom-light: #524864;
$custom-dark: #000000;
JSON
{
  "hex": "#14042b",
  "rgb": {
    "r": 20,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 264.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16924,
    "c": 0.07553,
    "h": 297.2
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#14042B
secondary
#4D6E1D
accent
#F92EA6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #14042B

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

Preview Lab → · Contrast checker → · Palette generator →

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