#0E0728#0E0728

#0E0728 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.065 H 287.2°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0E0728
RGBrgb(14, 7, 40)
HSLhsl(253, 70%, 9%)
HSVhsv(253, 83%, 16%)
CMYKcmyk(65%, 82.5%, 0%, 84.3%)
CIE-LABlab(3.60, 10.70, -19.42)
CIE-LCHlch(3.60, 22.17, 298.86°)
OKLaboklab(16.51% 0.0191 -0.0617)
OKLCHoklch(16.51% 0.065 287.2)
XYZxyz(0.6400, 0.3985, 2.0503)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0728 #212807
analogous
#071128 #0E0728 #1F0728
triadic
#0E0728 #280E07 #07280E
tetradic
#0E0728 #280711 #212807 #07281F
square
#0E0728 #280711 #212807 #07281F
split-complementary
#0E0728 #281F07 #112807
monochromatic
#09051A #09051A #0E0728 #20105C #321990

Accessibility & contrast

On white

19.45
#0E0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0728
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0728#FFFFFF#000000##FFFFFF
##0E07281.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#000C27
Tritanopia (blue-blind)
#050F16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0e0728;
/* rgb */ color: rgb(14, 7, 40);
/* oklch */ color: oklch(16.5% 0.065 287.2);
Tailwind
colors: {
  custom: {
    50: '#4e4a62',
    500: '#0e0728',
    950: '#000000',
  },
}
SCSS
$custom: #0e0728;
$custom-light: #4e4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0728",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 252.727,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16505,
    "c": 0.06457,
    "h": 287.2
  },
  "luminance": 0.00399
}

Semantic roles & 50–950 ramp

primary
#0E0728
secondary
#596823
accent
#ED3BC7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0E0728

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

Preview Lab → · Contrast checker → · Palette generator →

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