#0E052A#0E052A

#0E052A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.072 H 287.6°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#0E052A
RGBrgb(14, 5, 42)
HSLhsl(255, 79%, 9%)
HSVhsv(255, 88%, 16%)
CMYKcmyk(66.7%, 88.1%, 0%, 83.5%)
CIE-LABlab(3.33, 12.39, -21.36)
CIE-LCHlch(3.33, 24.70, 300.12°)
OKLaboklab(16.24% 0.0217 -0.0684)
OKLCHoklch(16.24% 0.072 287.6)
XYZxyz(0.6532, 0.3690, 2.2269)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E052A #212A05
analogous
#050F2A #0E052A #21052A
triadic
#0E052A #2A0E05 #052A0E
tetradic
#0E052A #2A050F #212A05 #052A21
square
#0E052A #2A050F #212A05 #052A21
split-complementary
#0E052A #2A2105 #0F2A05
monochromatic
#09031B #09031B #0E052A #200C61 #321297

Accessibility & contrast

On white

19.56
#0E052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E052A
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E052A#FFFFFF#000000##FFFFFF
##0E052A1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#040E16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0e052a;
/* rgb */ color: rgb(14, 5, 42);
/* oklch */ color: oklch(16.2% 0.072 287.6);
Tailwind
colors: {
  custom: {
    50: '#4e4964',
    500: '#0e052a',
    950: '#000000',
  },
}
SCSS
$custom: #0e052a;
$custom-light: #4e4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0e052a",
  "rgb": {
    "r": 14,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 254.595,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16241,
    "c": 0.07177,
    "h": 287.6
  },
  "luminance": 0.00369
}

Semantic roles & 50–950 ramp

primary
#0E052A
secondary
#596C1F
accent
#F533C6
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #0E052A

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

Preview Lab → · Contrast checker → · Palette generator →

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