#0E0220#0E0220

#0E0220 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.065 H 298.7°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#0E0220
RGBrgb(14, 2, 32)
HSLhsl(264, 88%, 7%)
HSVhsv(264, 94%, 13%)
CMYKcmyk(56.2%, 93.8%, 0%, 87.5%)
CIE-LABlab(2.18, 9.60, -15.38)
CIE-LCHlch(2.18, 18.13, 301.97°)
OKLaboklab(14.22% 0.0312 -0.057)
OKLCHoklch(14.22% 0.065 298.7)
XYZxyz(0.4635, 0.2411, 1.3883)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0220 #142002
analogous
#020520 #0E0220 #1D0220
triadic
#0E0220 #200E02 #02200E
tetradic
#0E0220 #200205 #142002 #02201D
square
#0E0220 #200205 #142002 #02201D
split-complementary
#0E0220 #201D02 #052002
monochromatic
#0D021D #0D021D #0E0220 #27065A #400993

Accessibility & contrast

On white

20.03
#0E0220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0E0220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0220
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0220#FFFFFF#000000##FFFFFF
##0E02201.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000821
Deuteranopia (green-blind)
#00081F
Tritanopia (blue-blind)
#0A080F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0e0220;
/* rgb */ color: rgb(14, 2, 32);
/* oklch */ color: oklch(14.2% 0.065 298.7);
Tailwind
colors: {
  custom: {
    50: '#4d475b',
    500: '#0e0220',
    950: '#000000',
  },
}
SCSS
$custom: #0e0220;
$custom-light: #4d475b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0220",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 264,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.14218,
    "c": 0.06496,
    "h": 298.7
  },
  "luminance": 0.00241
}

Semantic roles & 50–950 ramp

primary
#0E0220
secondary
#476618
accent
#FE29A9
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #0E0220

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

Preview Lab → · Contrast checker → · Palette generator →

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