#0E052B#0E052B

#0E052B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.073 H 287.0°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#0E052B
RGBrgb(14, 5, 43)
HSLhsl(254, 79%, 9%)
HSVhsv(254, 88%, 17%)
CMYKcmyk(67.4%, 88.4%, 0%, 83.1%)
CIE-LABlab(3.40, 12.85, -22.02)
CIE-LCHlch(3.40, 25.49, 300.26°)
OKLaboklab(16.36% 0.0214 -0.0701)
OKLCHoklch(16.36% 0.073 287)
XYZxyz(0.6713, 0.3763, 2.3223)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E052B #222B05
analogous
#050F2B #0E052B #21052B
triadic
#0E052B #2B0E05 #052B0E
tetradic
#0E052B #2B050F #222B05 #052B21
square
#0E052B #2B050F #222B05 #052B21
split-complementary
#0E052B #2B2105 #0F2B05
monochromatic
#09031B #09031B #0E052B #200B62 #321299

Accessibility & contrast

On white

19.53
#0E052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0E052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E052B
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E052B#FFFFFF#000000##FFFFFF
##0E052B1.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#040F17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0e052b;
/* rgb */ color: rgb(14, 5, 43);
/* oklch */ color: oklch(16.4% 0.073 287.0);
Tailwind
colors: {
  custom: {
    50: '#4e4864',
    500: '#0e052b',
    950: '#000000',
  },
}
SCSS
$custom: #0e052b;
$custom-light: #4e4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0e052b",
  "rgb": {
    "r": 14,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 254.211,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16359,
    "c": 0.07327,
    "h": 287
  },
  "luminance": 0.00376
}

Semantic roles & 50–950 ramp

primary
#0E052B
secondary
#5A6D1F
accent
#F632C7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0E052B

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

Preview Lab → · Contrast checker → · Palette generator →

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