#0E0731#0E0731

#0E0731 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.079 H 282.5°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#0E0731
RGBrgb(14, 7, 49)
HSLhsl(250, 75%, 11%)
HSVhsv(250, 86%, 19%)
CMYKcmyk(71.4%, 85.7%, 0%, 80.8%)
CIE-LABlab(4.22, 15.05, -25.23)
CIE-LCHlch(4.22, 29.38, 300.82°)
OKLaboklab(17.53% 0.0171 -0.0768)
OKLCHoklch(17.53% 0.079 282.5)
XYZxyz(0.8113, 0.4670, 2.9525)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0731 #2A3107
analogous
#071531 #0E0731 #230731
triadic
#0E0731 #310E07 #07310E
tetradic
#0E0731 #310715 #2A3107 #073123
square
#0E0731 #310715 #2A3107 #073123
split-complementary
#0E0731 #312307 #153107
monochromatic
#08041B #08041B #0E0731 #1D0F67 #2D169C

Accessibility & contrast

On white

19.21
#0E0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0731
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0731#FFFFFF#000000##FFFFFF
##0E07311.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e0731;
/* rgb */ color: rgb(14, 7, 49);
/* oklch */ color: oklch(17.5% 0.079 282.5);
Tailwind
colors: {
  custom: {
    50: '#504969',
    500: '#0e0731',
    950: '#000000',
  },
}
SCSS
$custom: #0e0731;
$custom-light: #504969;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0731",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 250,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17527,
    "c": 0.07869,
    "h": 282.5
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#0E0731
secondary
#647123
accent
#F236D2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0E0731

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

Preview Lab → · Contrast checker → · Palette generator →

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