#0E022F#0E022F

#0E022F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.085 H 286.6°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0E022F
RGBrgb(14, 2, 47)
HSLhsl(256, 92%, 10%)
HSVhsv(256, 96%, 18%)
CMYKcmyk(70.2%, 95.7%, 0%, 81.6%)
CIE-LABlab(3.09, 16.00, -25.53)
CIE-LCHlch(3.09, 30.13, 302.08°)
OKLaboklab(16.12% 0.0243 -0.0815)
OKLCHoklch(16.12% 0.085 286.6)
XYZxyz(0.7157, 0.3420, 2.7171)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E022F #232F02
analogous
#020D2F #0E022F #25022F
triadic
#0E022F #2F0E02 #022F0E
tetradic
#0E022F #2F020D #232F02 #022F25
square
#0E022F #2F020D #232F02 #022F25
split-complementary
#0E022F #2F2502 #0D2F02
monochromatic
#09011D #09011D #0E022F #1F046A #3107A4

Accessibility & contrast

On white

19.66
#0E022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0E022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E022F
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E022F#FFFFFF#000000##FFFFFF
##0E022F1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#010E18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0e022f;
/* rgb */ color: rgb(14, 2, 47);
/* oklch */ color: oklch(16.1% 0.085 286.6);
Tailwind
colors: {
  custom: {
    50: '#4f4768',
    500: '#0e022f',
    950: '#000000',
  },
}
SCSS
$custom: #0e022f;
$custom-light: #4f4768;
$custom-dark: #000000;
JSON
{
  "hex": "#0e022f",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 256,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16119,
    "c": 0.0851,
    "h": 286.6
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#0E022F
secondary
#5C7419
accent
#FF29C6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E022F

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

Preview Lab → · Contrast checker → · Palette generator →

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