#0E021B#0E021B

#0E021B is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.7% C 0.058 H 304.5°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#0E021B
RGBrgb(14, 2, 27)
HSLhsl(269, 86%, 6%)
HSVhsv(269, 93%, 11%)
CMYKcmyk(48.1%, 92.6%, 0%, 89.4%)
CIE-LABlab(1.95, 8.00, -11.72)
CIE-LCHlch(1.95, 14.19, 304.33°)
OKLaboklab(13.65% 0.033 -0.0479)
OKLCHoklch(13.65% 0.058 304.5)
XYZxyz(0.4006, 0.2159, 1.0573)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E021B #0F1B02
analogous
#02021B #0E021B #1A021B
triadic
#0E021B #1B0E02 #021B0E
tetradic
#0E021B #1B0202 #0F1B02 #021B1A
square
#0E021B #1B0202 #0F1B02 #021B1A
split-complementary
#0E021B #1B1A02 #021B02
monochromatic
#0F021C #0F021C #0F021C #2C0654 #490A8D

Accessibility & contrast

On white

20.13
#0E021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0E021B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E021B
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E021B#FFFFFF#000000##FFFFFF
##0E021B1.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071C
Deuteranopia (green-blind)
#00071A
Tritanopia (blue-blind)
#0B060C
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0e021b;
/* rgb */ color: rgb(14, 2, 27);
/* oklch */ color: oklch(13.7% 0.058 304.5);
Tailwind
colors: {
  custom: {
    50: '#4d4757',
    500: '#0e021b',
    950: '#000000',
  },
}
SCSS
$custom: #0e021b;
$custom-light: #4d4757;
$custom-dark: #000000;
JSON
{
  "hex": "#0e021b",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 268.8,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.13652,
    "c": 0.05814,
    "h": 304.5
  },
  "luminance": 0.00216
}

Semantic roles & 50–950 ramp

primary
#0E021B
secondary
#3E6118
accent
#FC2B98
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0E021B

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

Preview Lab → · Contrast checker → · Palette generator →

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