#0E0631#0E0631

#0E0631 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.080 H 283.1°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#0E0631
RGBrgb(14, 6, 49)
HSLhsl(251, 78%, 11%)
HSVhsv(251, 88%, 19%)
CMYKcmyk(71.4%, 87.8%, 0%, 80.8%)
CIE-LABlab(4.02, 15.45, -25.54)
CIE-LCHlch(4.02, 29.85, 301.17°)
OKLaboklab(17.31% 0.0183 -0.0783)
OKLCHoklch(17.31% 0.08 283.1)
XYZxyz(0.8004, 0.4453, 2.9489)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0631 #293106
analogous
#061331 #0E0631 #230631
triadic
#0E0631 #310E06 #06310E
tetradic
#0E0631 #310613 #293106 #063123
square
#0E0631 #310613 #293106 #063123
split-complementary
#0E0631 #312306 #133106
monochromatic
#08031B #08031B #0E0631 #1E0D68 #2D139E

Accessibility & contrast

On white

19.28
#0E0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0631
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0631#FFFFFF#000000##FFFFFF
##0E06311.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0e0631;
/* rgb */ color: rgb(14, 6, 49);
/* oklch */ color: oklch(17.3% 0.080 283.1);
Tailwind
colors: {
  custom: {
    50: '#504969',
    500: '#0e0631',
    950: '#000000',
  },
}
SCSS
$custom: #0e0631;
$custom-light: #504969;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0631",
  "rgb": {
    "r": 14,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 251.163,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17311,
    "c": 0.08037,
    "h": 283.1
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#0E0631
secondary
#637221
accent
#F533D1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E0631

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

Preview Lab → · Contrast checker → · Palette generator →

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