#0E042D#0E042D

#0E042D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.078 H 286.5°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#0E042D
RGBrgb(14, 4, 45)
HSLhsl(255, 84%, 10%)
HSVhsv(255, 91%, 18%)
CMYKcmyk(68.9%, 91.1%, 0%, 82.4%)
CIE-LABlab(3.34, 14.20, -23.63)
CIE-LCHlch(3.34, 27.57, 301.01°)
OKLaboklab(16.36% 0.0223 -0.075)
OKLCHoklch(16.36% 0.078 286.5)
XYZxyz(0.6980, 0.3696, 2.5167)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E042D #232D04
analogous
#040F2D #0E042D #23042D
triadic
#0E042D #2D0E04 #042D0E
tetradic
#0E042D #2D040F #232D04 #042D23
square
#0E042D #2D040F #232D04 #042D23
split-complementary
#0E042D #2D2304 #0F2D04
monochromatic
#09021C #09021C #0E042D #1F0965 #310E9D

Accessibility & contrast

On white

19.55
#0E042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0E042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E042D
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E042D#FFFFFF#000000##FFFFFF
##0E042D1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#020F17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0e042d;
/* rgb */ color: rgb(14, 4, 45);
/* oklch */ color: oklch(16.4% 0.078 286.5);
Tailwind
colors: {
  custom: {
    50: '#4f4866',
    500: '#0e042d',
    950: '#000000',
  },
}
SCSS
$custom: #0e042d;
$custom-light: #4f4866;
$custom-dark: #000000;
JSON
{
  "hex": "#0e042d",
  "rgb": {
    "r": 14,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 254.634,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16357,
    "c": 0.07823,
    "h": 286.5
  },
  "luminance": 0.0037
}

Semantic roles & 50–950 ramp

primary
#0E042D
secondary
#5C701D
accent
#FA2EC8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E042D

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

Preview Lab → · Contrast checker → · Palette generator →

#0E042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva