#0E012A#0E012A

#0E012A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.081 H 290.7°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#0E012A
RGBrgb(14, 1, 42)
HSLhsl(259, 95%, 8%)
HSVhsv(259, 98%, 16%)
CMYKcmyk(66.7%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.55, 13.99, -22.59)
CIE-LCHlch(2.55, 26.58, 301.77°)
OKLaboklab(15.18% 0.0286 -0.0757)
OKLCHoklch(15.18% 0.081 290.7)
XYZxyz(0.6098, 0.2822, 2.2124)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E012A #1D2A01
analogous
#01082A #0E012A #22012A
triadic
#0E012A #2A0E01 #012A0E
tetradic
#0E012A #2A0108 #1D2A01 #012A22
square
#0E012A #2A0108 #1D2A01 #012A22
split-complementary
#0E012A #2A2201 #082A01
monochromatic
#0A011E #0A011E #0E012A #220266 #3604A2

Accessibility & contrast

On white

19.88
#0E012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E012A
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E012A#FFFFFF#000000##FFFFFF
##0E012A1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2B
Deuteranopia (green-blind)
#000829
Tritanopia (blue-blind)
#040B15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0e012a;
/* rgb */ color: rgb(14, 1, 42);
/* oklch */ color: oklch(15.2% 0.081 290.7);
Tailwind
colors: {
  custom: {
    50: '#4e4764',
    500: '#0e012a',
    950: '#000000',
  },
}
SCSS
$custom: #0e012a;
$custom-light: #4e4764;
$custom-dark: #000000;
JSON
{
  "hex": "#0e012a",
  "rgb": {
    "r": 14,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 259.024,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15179,
    "c": 0.0809,
    "h": 290.7
  },
  "luminance": 0.00282
}

Semantic roles & 50–950 ramp

primary
#0E012A
secondary
#547016
accent
#FF29BB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0E012A

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

Preview Lab → · Contrast checker → · Palette generator →

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