#220E46#220E46

#220E46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.098 H 293.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#220E46
RGBrgb(34, 14, 70)
HSLhsl(261, 67%, 16%)
HSVhsv(261, 80%, 27%)
CMYKcmyk(51.4%, 80%, 0%, 72.5%)
CIE-LABlab(9.77, 25.14, -31.27)
CIE-LCHlch(9.77, 40.12, 308.80°)
OKLaboklab(23.33% 0.0394 -0.0896)
OKLCHoklch(23.33% 0.098 293.7)
XYZxyz(1.9219, 1.0963, 5.9035)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E46 #32460E
analogous
#0E1646 #220E46 #3E0E46
triadic
#220E46 #46220E #0E4622
tetradic
#220E46 #460E16 #32460E #0E463E
square
#220E46 #460E16 #32460E #0E463E
split-complementary
#220E46 #463E0E #16460E
monochromatic
#0C051A #0C051A #220E46 #3B1879 #5422AC

Accessibility & contrast

On white

17.22
#220E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E46
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E46#FFFFFF#000000##FFFFFF
##220E461.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#171C29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220e46;
/* rgb */ color: rgb(34, 14, 70);
/* oklch */ color: oklch(23.3% 0.098 293.7);
Tailwind
colors: {
  custom: {
    50: '#614e7a',
    500: '#220e46',
    950: '#000000',
  },
}
SCSS
$custom: #220e46;
$custom-light: #614e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220e46",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 261.429,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23331,
    "c": 0.09785,
    "h": 293.7
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#220E46
secondary
#64812F
accent
#EA3EAC
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #220E46

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

Preview Lab → · Contrast checker → · Palette generator →

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