#220E4A#220E4A

#220E4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.103 H 291.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#220E4A
RGBrgb(34, 14, 74)
HSLhsl(260, 68%, 17%)
HSVhsv(260, 81%, 29%)
CMYKcmyk(54.1%, 81.1%, 0%, 71%)
CIE-LABlab(10.17, 26.42, -33.40)
CIE-LCHlch(10.17, 42.59, 308.35°)
OKLaboklab(23.74% 0.0383 -0.0958)
OKLCHoklch(23.74% 0.103 291.8)
XYZxyz(2.0524, 1.1485, 6.5908)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E4A #364A0E
analogous
#0E184A #220E4A #400E4A
triadic
#220E4A #4A220E #0E4A22
tetradic
#220E4A #4A0E18 #364A0E #0E4A40
square
#220E4A #4A0E18 #364A0E #0E4A40
split-complementary
#220E4A #4A400E #184A0E
monochromatic
#0C051A #0C051A #220E4A #3A187D #5121B1

Accessibility & contrast

On white

17.08
#220E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#220E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E4A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E4A#FFFFFF#000000##FFFFFF
##220E4A1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#151E2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220e4a;
/* rgb */ color: rgb(34, 14, 74);
/* oklch */ color: oklch(23.7% 0.103 291.8);
Tailwind
colors: {
  custom: {
    50: '#624e7d',
    500: '#220e4a',
    950: '#000000',
  },
}
SCSS
$custom: #220e4a;
$custom-light: #624e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220e4a",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 260,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2374,
    "c": 0.10323,
    "h": 291.8
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#220E4A
secondary
#68852F
accent
#EB3DB1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #220E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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