#0E062E#0E062E

#0E062E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.076 H 284.6°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0E062E
RGBrgb(14, 6, 46)
HSLhsl(252, 77%, 10%)
HSVhsv(252, 87%, 18%)
CMYKcmyk(69.6%, 87%, 0%, 82%)
CIE-LABlab(3.80, 13.90, -23.65)
CIE-LCHlch(3.80, 27.43, 300.44°)
OKLaboklab(16.95% 0.0191 -0.0734)
OKLCHoklch(16.95% 0.076 284.6)
XYZxyz(0.7392, 0.4208, 2.6265)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E062E #262E06
analogous
#06122E #0E062E #22062E
triadic
#0E062E #2E0E06 #062E0E
tetradic
#0E062E #2E0612 #262E06 #062E22
square
#0E062E #2E0612 #262E06 #062E22
split-complementary
#0E062E #2E2206 #122E06
monochromatic
#08041B #08041B #0E062E #1E0D64 #2F149A

Accessibility & contrast

On white

19.37
#0E062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E062E
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E062E#FFFFFF#000000##FFFFFF
##0E062E1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000C2D
Tritanopia (blue-blind)
#021019
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0e062e;
/* rgb */ color: rgb(14, 6, 46);
/* oklch */ color: oklch(17.0% 0.076 284.6);
Tailwind
colors: {
  custom: {
    50: '#4f4967',
    500: '#0e062e',
    950: '#000000',
  },
}
SCSS
$custom: #0e062e;
$custom-light: #4f4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0e062e",
  "rgb": {
    "r": 14,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 252,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16951,
    "c": 0.07587,
    "h": 284.6
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#0E062E
secondary
#5F6F21
accent
#F334CD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E062E

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

Preview Lab → · Contrast checker → · Palette generator →

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