#0E072F#0E072F

#0E072F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.3% C 0.076 H 283.4°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#0E072F
RGBrgb(14, 7, 47)
HSLhsl(251, 74%, 11%)
HSVhsv(251, 85%, 18%)
CMYKcmyk(70.2%, 85.1%, 0%, 81.6%)
CIE-LABlab(4.07, 14.00, -23.97)
CIE-LCHlch(4.07, 27.76, 300.29°)
OKLaboklab(17.29% 0.0176 -0.0736)
OKLCHoklch(17.29% 0.076 283.4)
XYZxyz(0.7700, 0.4505, 2.7352)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E072F #282F07
analogous
#07142F #0E072F #22072F
triadic
#0E072F #2F0E07 #072F0E
tetradic
#0E072F #2F0714 #282F07 #072F22
square
#0E072F #2F0714 #282F07 #072F22
split-complementary
#0E072F #2F2207 #142F07
monochromatic
#08041B #08041B #0E072F #1E0F64 #2E179A

Accessibility & contrast

On white

19.26
#0E072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0E072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E072F
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E072F#FFFFFF#000000##FFFFFF
##0E072F1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#01121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0e072f;
/* rgb */ color: rgb(14, 7, 47);
/* oklch */ color: oklch(17.3% 0.076 283.4);
Tailwind
colors: {
  custom: {
    50: '#4f4968',
    500: '#0e072f',
    950: '#000000',
  },
}
SCSS
$custom: #0e072f;
$custom-light: #4f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0e072f",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 250.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17292,
    "c": 0.07563,
    "h": 283.4
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#0E072F
secondary
#616F23
accent
#F137D0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E072F

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

Preview Lab → · Contrast checker → · Palette generator →

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