#220E45#220E45

#220E45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.096 H 294.2°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#220E45
RGBrgb(34, 14, 69)
HSLhsl(262, 66%, 16%)
HSVhsv(262, 80%, 27%)
CMYKcmyk(50.7%, 79.7%, 0%, 72.9%)
CIE-LABlab(9.67, 24.82, -30.73)
CIE-LCHlch(9.67, 39.50, 308.94°)
OKLaboklab(23.23% 0.0396 -0.088)
OKLCHoklch(23.23% 0.096 294.2)
XYZxyz(1.8906, 1.0838, 5.7386)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E45 #31450E
analogous
#0E1645 #220E45 #3E0E45
triadic
#220E45 #45220E #0E4522
tetradic
#220E45 #450E16 #31450E #0E453E
square
#220E45 #450E16 #31450E #0E453E
split-complementary
#220E45 #453E0E #16450E
monochromatic
#0D0519 #0D0519 #220E45 #3B1878 #5423AB

Accessibility & contrast

On white

17.26
#220E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E45
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E45#FFFFFF#000000##FFFFFF
##220E451.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#181C28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220e45;
/* rgb */ color: rgb(34, 14, 69);
/* oklch */ color: oklch(23.2% 0.096 294.2);
Tailwind
colors: {
  custom: {
    50: '#614e79',
    500: '#220e45',
    950: '#000000',
  },
}
SCSS
$custom: #220e45;
$custom-light: #614e79;
$custom-dark: #000000;
JSON
{
  "hex": "#220e45",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 261.818,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2323,
    "c": 0.09649,
    "h": 294.2
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#220E45
secondary
#62802F
accent
#E93FAB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #220E45

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

Preview Lab → · Contrast checker → · Palette generator →

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