#0E0440#0E0440

#0E0440 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.9% C 0.104 H 278.1°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#0E0440
RGBrgb(14, 4, 64)
HSLhsl(250, 88%, 13%)
HSVhsv(250, 94%, 25%)
CMYKcmyk(78.1%, 93.8%, 0%, 74.9%)
CIE-LABlab(4.97, 24.38, -34.96)
CIE-LCHlch(4.97, 42.62, 304.89°)
OKLaboklab(18.86% 0.0147 -0.1034)
OKLCHoklch(18.86% 0.104 278.1)
XYZxyz(1.1496, 0.5503, 4.8951)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0440 #364004
analogous
#041840 #0E0440 #2C0440
triadic
#0E0440 #400E04 #04400E
tetradic
#0E0440 #400418 #364004 #04402C
square
#0E0440 #400418 #364004 #04402C
split-complementary
#0E0440 #402C04 #184004
monochromatic
#06021D #06021D #0E0440 #1B087A #270BB3

Accessibility & contrast

On white

18.92
#0E0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0E0440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0440
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0440#FFFFFF#000000##FFFFFF
##0E04401.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0e0440;
/* rgb */ color: rgb(14, 4, 64);
/* oklch */ color: oklch(18.9% 0.104 278.1);
Tailwind
colors: {
  custom: {
    50: '#564776',
    500: '#0e0440',
    950: '#000000',
  },
}
SCSS
$custom: #0e0440;
$custom-light: #564776;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0440",
  "rgb": {
    "r": 14,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 250,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18861,
    "c": 0.10445,
    "h": 278.1
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#0E0440
secondary
#71811F
accent
#FE29DB
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0E0440

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

Preview Lab → · Contrast checker → · Palette generator →

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