#0E023A#0E023A

#0E023A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.6% C 0.100 H 281.0°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#0E023A
RGBrgb(14, 2, 58)
HSLhsl(253, 93%, 12%)
HSVhsv(253, 97%, 23%)
CMYKcmyk(75.9%, 96.6%, 0%, 77.3%)
CIE-LABlab(3.99, 22.13, -32.22)
CIE-LCHlch(3.99, 39.09, 304.49°)
OKLaboklab(17.63% 0.019 -0.0977)
OKLCHoklch(17.63% 0.1 281)
XYZxyz(0.9663, 0.4422, 4.0366)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E023A #2E3A02
analogous
#02123A #0E023A #2A023A
triadic
#0E023A #3A0E02 #023A0E
tetradic
#0E023A #3A0212 #2E3A02 #023A2A
square
#0E023A #3A0212 #2E3A02 #023A2A
split-complementary
#0E023A #3A2A02 #123A02
monochromatic
#07011E #07011E #0E023A #1C0475 #2B06B0

Accessibility & contrast

On white

19.29
#0E023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E023A
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E023A#FFFFFF#000000##FFFFFF
##0E023A1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103C
Deuteranopia (green-blind)
#000C39
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0e023a;
/* rgb */ color: rgb(14, 2, 58);
/* oklch */ color: oklch(17.6% 0.100 281.0);
Tailwind
colors: {
  custom: {
    50: '#534671',
    500: '#0e023a',
    950: '#000000',
  },
}
SCSS
$custom: #0e023a;
$custom-light: #534671;
$custom-dark: #000000;
JSON
{
  "hex": "#0e023a",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 252.857,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17634,
    "c": 0.0995,
    "h": 281
  },
  "luminance": 0.00442
}

Semantic roles & 50–950 ramp

primary
#0E023A
secondary
#687D1A
accent
#FF29D1
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0E023A

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

Preview Lab → · Contrast checker → · Palette generator →

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