#220E4D#220E4D

#220E4D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.107 H 290.5°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#220E4D
RGBrgb(34, 14, 77)
HSLhsl(259, 69%, 18%)
HSVhsv(259, 82%, 30%)
CMYKcmyk(55.8%, 81.8%, 0%, 69.8%)
CIE-LABlab(10.48, 27.39, -34.98)
CIE-LCHlch(10.48, 44.42, 308.06°)
OKLaboklab(24.05% 0.0375 -0.1005)
OKLCHoklch(24.05% 0.107 290.5)
XYZxyz(2.1559, 1.1899, 7.1358)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E4D #394D0E
analogous
#0E194D #220E4D #410E4D
triadic
#220E4D #4D220E #0E4D22
tetradic
#220E4D #4D0E19 #394D0E #0E4D41
square
#220E4D #4D0E19 #394D0E #0E4D41
split-complementary
#220E4D #4D410E #194D0E
monochromatic
#0B051A #0B051A #220E4D #391781 #5021B5

Accessibility & contrast

On white

16.96
#220E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E4D
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E4D#FFFFFF#000000##FFFFFF
##220E4D1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#131F2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220e4d;
/* rgb */ color: rgb(34, 14, 77);
/* oklch */ color: oklch(24.1% 0.107 290.5);
Tailwind
colors: {
  custom: {
    50: '#634f7f',
    500: '#220e4d',
    950: '#000000',
  },
}
SCSS
$custom: #220e4d;
$custom-light: #634f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#220e4d",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 259.048,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24054,
    "c": 0.10723,
    "h": 290.5
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#220E4D
secondary
#6C882F
accent
#EC3CB4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#220E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva