#0E042F#0E042F

#0E042F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.081 H 285.4°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#0E042F
RGBrgb(14, 4, 47)
HSLhsl(254, 84%, 10%)
HSVhsv(254, 91%, 18%)
CMYKcmyk(70.2%, 91.5%, 0%, 81.6%)
CIE-LABlab(3.48, 15.21, -24.91)
CIE-LCHlch(3.48, 29.18, 301.40°)
OKLaboklab(16.61% 0.0215 -0.0782)
OKLCHoklch(16.61% 0.081 285.4)
XYZxyz(0.7375, 0.3854, 2.7243)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E042F #252F04
analogous
#04102F #0E042F #23042F
triadic
#0E042F #2F0E04 #042F0E
tetradic
#0E042F #2F0410 #252F04 #042F23
square
#0E042F #2F0410 #252F04 #042F23
split-complementary
#0E042F #2F2304 #102F04
monochromatic
#08021C #08021C #0E042F #1F0967 #300EA0

Accessibility & contrast

On white

19.50
#0E042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E042F
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E042F#FFFFFF#000000##FFFFFF
##0E042F1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e042f;
/* rgb */ color: rgb(14, 4, 47);
/* oklch */ color: oklch(16.6% 0.081 285.4);
Tailwind
colors: {
  custom: {
    50: '#4f4868',
    500: '#0e042f',
    950: '#000000',
  },
}
SCSS
$custom: #0e042f;
$custom-light: #4f4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0e042f",
  "rgb": {
    "r": 14,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 253.953,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.16608,
    "c": 0.08109,
    "h": 285.4
  },
  "luminance": 0.00385
}

Semantic roles & 50–950 ramp

primary
#0E042F
secondary
#5E721D
accent
#FB2DCB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E042F

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

Preview Lab → · Contrast checker → · Palette generator →

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