#0E052F#0E052F

#0E052F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.079 H 284.7°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#0E052F
RGBrgb(14, 5, 47)
HSLhsl(253, 81%, 10%)
HSVhsv(253, 89%, 18%)
CMYKcmyk(70.2%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.68, 14.80, -24.60)
CIE-LCHlch(3.68, 28.71, 301.04°)
OKLaboklab(16.84% 0.0202 -0.0766)
OKLCHoklch(16.84% 0.079 284.7)
XYZxyz(0.7483, 0.4071, 2.7279)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E052F #262F05
analogous
#05112F #0E052F #23052F
triadic
#0E052F #2F0E05 #052F0E
tetradic
#0E052F #2F0511 #262F05 #052F23
square
#0E052F #2F0511 #262F05 #052F23
split-complementary
#0E052F #2F2305 #112F05
monochromatic
#08031C #08031C #0E052F #1E0B66 #2F119E

Accessibility & contrast

On white

19.42
#0E052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E052F
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E052F#FFFFFF#000000##FFFFFF
##0E052F1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#011019
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0e052f;
/* rgb */ color: rgb(14, 5, 47);
/* oklch */ color: oklch(16.8% 0.079 284.7);
Tailwind
colors: {
  custom: {
    50: '#4f4868',
    500: '#0e052f',
    950: '#000000',
  },
}
SCSS
$custom: #0e052f;
$custom-light: #4f4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0e052f",
  "rgb": {
    "r": 14,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 252.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16842,
    "c": 0.0792,
    "h": 284.7
  },
  "luminance": 0.00407
}

Semantic roles & 50–950 ramp

primary
#0E052F
secondary
#5F711F
accent
#F731CD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E052F

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

Preview Lab → · Contrast checker → · Palette generator →

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