#220E4B#220E4B

#220E4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.105 H 291.3°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#220E4B
RGBrgb(34, 14, 75)
HSLhsl(260, 69%, 17%)
HSVhsv(260, 81%, 29%)
CMYKcmyk(54.7%, 81.3%, 0%, 70.6%)
CIE-LABlab(10.27, 26.75, -33.93)
CIE-LCHlch(10.27, 43.20, 308.25°)
OKLaboklab(23.84% 0.0381 -0.0974)
OKLCHoklch(23.84% 0.105 291.3)
XYZxyz(2.0864, 1.1621, 6.7696)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E4B #374B0E
analogous
#0E194B #220E4B #400E4B
triadic
#220E4B #4B220E #0E4B22
tetradic
#220E4B #4B0E19 #374B0E #0E4B40
square
#220E4B #4B0E19 #374B0E #0E4B40
split-complementary
#220E4B #4B400E #194B0E
monochromatic
#0C051A #0C051A #220E4B #39187F #5121B2

Accessibility & contrast

On white

17.04
#220E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E4B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E4B#FFFFFF#000000##FFFFFF
##220E4B1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#141E2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220e4b;
/* rgb */ color: rgb(34, 14, 75);
/* oklch */ color: oklch(23.8% 0.105 291.3);
Tailwind
colors: {
  custom: {
    50: '#624e7e',
    500: '#220e4b',
    950: '#000000',
  },
}
SCSS
$custom: #220e4b;
$custom-light: #624e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#220e4b",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 259.672,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23844,
    "c": 0.10456,
    "h": 291.3
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#220E4B
secondary
#69862F
accent
#EB3CB2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #220E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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