#220F59#220F59

#220F59 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.122 H 285.7°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#220F59
RGBrgb(34, 15, 89)
HSLhsl(255, 71%, 20%)
HSVhsv(255, 83%, 35%)
CMYKcmyk(61.8%, 83.1%, 0%, 65.1%)
CIE-LABlab(11.98, 30.70, -40.72)
CIE-LCHlch(11.98, 51.00, 307.01°)
OKLaboklab(25.5% 0.0329 -0.1173)
OKLCHoklch(25.5% 0.122 285.7)
XYZxyz(2.6331, 1.4028, 9.5813)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F59 #46590F
analogous
#0F2159 #220F59 #470F59
triadic
#220F59 #59220F #0F5922
tetradic
#220F59 #590F21 #46590F #0F5947
square
#220F59 #590F21 #46590F #0F5947
split-complementary
#220F59 #59470F #21590F
monochromatic
#0A041A #0E0625 #220F59 #36188D #4A21C2

Accessibility & contrast

On white

16.40
#220F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F59
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F59#FFFFFF#000000##FFFFFF
##220F591.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#062434
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #220f59;
/* rgb */ color: rgb(34, 15, 89);
/* oklch */ color: oklch(25.5% 0.122 285.7);
Tailwind
colors: {
  custom: {
    50: '#655089',
    500: '#220f59',
    950: '#000000',
  },
}
SCSS
$custom: #220f59;
$custom-light: #655089;
$custom-dark: #000000;
JSON
{
  "hex": "#220f59",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 255.405,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25497,
    "c": 0.12182,
    "h": 285.7
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#220F59
secondary
#7A9331
accent
#EE3AC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F59

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

Preview Lab → · Contrast checker → · Palette generator →

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