#0E062F#0E062F

#0E062F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.077 H 284.1°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#0E062F
RGBrgb(14, 6, 47)
HSLhsl(252, 77%, 10%)
HSVhsv(252, 87%, 18%)
CMYKcmyk(70.2%, 87.2%, 0%, 81.6%)
CIE-LABlab(3.87, 14.40, -24.28)
CIE-LCHlch(3.87, 28.23, 300.68°)
OKLaboklab(17.07% 0.0188 -0.075)
OKLCHoklch(17.07% 0.077 284.1)
XYZxyz(0.7592, 0.4288, 2.7315)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E062F #272F06
analogous
#06122F #0E062F #22062F
triadic
#0E062F #2F0E06 #062F0E
tetradic
#0E062F #2F0612 #272F06 #062F22
square
#0E062F #2F0612 #272F06 #062F22
split-complementary
#0E062F #2F2206 #122F06
monochromatic
#08031B #08031B #0E062F #1E0D65 #2E149C

Accessibility & contrast

On white

19.34
#0E062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E062F
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E062F#FFFFFF#000000##FFFFFF
##0E062F1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#011119
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0e062f;
/* rgb */ color: rgb(14, 6, 47);
/* oklch */ color: oklch(17.1% 0.077 284.1);
Tailwind
colors: {
  custom: {
    50: '#4f4968',
    500: '#0e062f',
    950: '#000000',
  },
}
SCSS
$custom: #0e062f;
$custom-light: #4f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0e062f",
  "rgb": {
    "r": 14,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 251.707,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1707,
    "c": 0.07738,
    "h": 284.1
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#0E062F
secondary
#607021
accent
#F434CE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E062F

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

Preview Lab → · Contrast checker → · Palette generator →

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