#220E5B#220E5B

#220E5B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.125 H 285.2°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#220E5B
RGBrgb(34, 14, 91)
HSLhsl(256, 73%, 21%)
HSVhsv(256, 85%, 36%)
CMYKcmyk(62.6%, 84.6%, 0%, 64.3%)
CIE-LABlab(12.02, 31.87, -42.00)
CIE-LCHlch(12.02, 52.73, 307.19°)
OKLaboklab(25.59% 0.033 -0.121)
OKLCHoklch(25.59% 0.125 285.2)
XYZxyz(2.7045, 1.4093, 10.0250)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E5B #475B0E
analogous
#0E215B #220E5B #480E5B
triadic
#220E5B #5B220E #0E5B22
tetradic
#220E5B #5B0E21 #475B0E #0E5B48
square
#220E5B #5B0E21 #475B0E #0E5B48
split-complementary
#220E5B #5B480E #215B0E
monochromatic
#0A041B #0E0626 #220E5B #361690 #4A1EC5

Accessibility & contrast

On white

16.38
#220E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#220E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E5B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E5B#FFFFFF#000000##FFFFFF
##220E5B1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#032534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220e5b;
/* rgb */ color: rgb(34, 14, 91);
/* oklch */ color: oklch(25.6% 0.125 285.2);
Tailwind
colors: {
  custom: {
    50: '#66508a',
    500: '#220e5b',
    950: '#000000',
  },
}
SCSS
$custom: #220e5b;
$custom-light: #66508a;
$custom-dark: #000000;
JSON
{
  "hex": "#220e5b",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 255.584,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25594,
    "c": 0.12542,
    "h": 285.2
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#220E5B
secondary
#7B9530
accent
#F038C0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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