#0E012F#0E012F

#0E012F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.087 H 287.2°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0E012F
RGBrgb(14, 1, 47)
HSLhsl(257, 96%, 9%)
HSVhsv(257, 98%, 18%)
CMYKcmyk(70.2%, 97.9%, 0%, 81.6%)
CIE-LABlab(2.89, 16.40, -25.84)
CIE-LCHlch(2.89, 30.61, 302.41°)
OKLaboklab(15.86% 0.0259 -0.0833)
OKLCHoklch(15.86% 0.087 287.2)
XYZxyz(0.7049, 0.3203, 2.7134)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E012F #222F01
analogous
#010B2F #0E012F #25012F
triadic
#0E012F #2F0E01 #012F0E
tetradic
#0E012F #2F010B #222F01 #012F25
square
#0E012F #2F010B #222F01 #012F25
split-complementary
#0E012F #2F2501 #0B2F01
monochromatic
#09011E #09011E #0E012F #20026B #3204A7

Accessibility & contrast

On white

19.74
#0E012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0E012F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E012F
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E012F#FFFFFF#000000##FFFFFF
##0E012F1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#010D18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0e012f;
/* rgb */ color: rgb(14, 1, 47);
/* oklch */ color: oklch(15.9% 0.087 287.2);
Tailwind
colors: {
  custom: {
    50: '#4f4668',
    500: '#0e012f',
    950: '#000000',
  },
}
SCSS
$custom: #0e012f;
$custom-light: #4f4668;
$custom-dark: #000000;
JSON
{
  "hex": "#0e012f",
  "rgb": {
    "r": 14,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 256.957,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15862,
    "c": 0.08723,
    "h": 287.2
  },
  "luminance": 0.0032
}

Semantic roles & 50–950 ramp

primary
#0E012F
secondary
#5A7517
accent
#FF29C2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E012F

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

Preview Lab → · Contrast checker → · Palette generator →

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