#220E42#220E42

#220E42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.092 H 295.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#220E42
RGBrgb(34, 14, 66)
HSLhsl(263, 65%, 16%)
HSVhsv(263, 79%, 26%)
CMYKcmyk(48.5%, 78.8%, 0%, 74.1%)
CIE-LABlab(9.38, 23.87, -29.08)
CIE-LCHlch(9.38, 37.62, 309.38°)
OKLaboklab(22.93% 0.0403 -0.0832)
OKLCHoklch(22.93% 0.092 295.8)
XYZxyz(1.7998, 1.0475, 5.2606)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E42 #2E420E
analogous
#0E1442 #220E42 #3C0E42
triadic
#220E42 #42220E #0E4222
tetradic
#220E42 #420E14 #2E420E #0E423C
square
#220E42 #420E14 #2E420E #0E423C
split-complementary
#220E42 #423C0E #14420E
monochromatic
#0D0519 #0D0519 #220E42 #3C1974 #5623A7

Accessibility & contrast

On white

17.36
#220E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E42
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E42#FFFFFF#000000##FFFFFF
##220E421.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#191B26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220e42;
/* rgb */ color: rgb(34, 14, 66);
/* oklch */ color: oklch(22.9% 0.092 295.8);
Tailwind
colors: {
  custom: {
    50: '#614e77',
    500: '#220e42',
    950: '#000000',
  },
}
SCSS
$custom: #220e42;
$custom-light: #614e77;
$custom-dark: #000000;
JSON
{
  "hex": "#220e42",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 263.077,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22934,
    "c": 0.0924,
    "h": 295.8
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#220E42
secondary
#5F7D2F
accent
#E840A7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220E42

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

Preview Lab → · Contrast checker → · Palette generator →

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