#220F5D#220F5D

#220F5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.127 H 284.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#220F5D
RGBrgb(34, 15, 93)
HSLhsl(255, 72%, 21%)
HSVhsv(255, 84%, 36%)
CMYKcmyk(63.4%, 83.9%, 0%, 63.5%)
CIE-LABlab(12.43, 31.99, -42.67)
CIE-LCHlch(12.43, 53.33, 306.86°)
OKLaboklab(25.95% 0.0316 -0.123)
OKLCHoklch(25.95% 0.127 284.4)
XYZxyz(2.8057, 1.4719, 10.4901)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F5D #4A5D0F
analogous
#0F235D #220F5D #490F5D
triadic
#220F5D #5D220F #0F5D22
tetradic
#220F5D #5D0F23 #4A5D0F #0F5D49
square
#220F5D #5D0F23 #4A5D0F #0F5D49
split-complementary
#220F5D #5D490F #235D0F
monochromatic
#0A041A #0F0628 #220F5D #351792 #4920C6

Accessibility & contrast

On white

16.22
#220F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#220F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F5D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F5D#FFFFFF#000000##FFFFFF
##220F5D1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220f5d;
/* rgb */ color: rgb(34, 15, 93);
/* oklch */ color: oklch(25.9% 0.127 284.4);
Tailwind
colors: {
  custom: {
    50: '#66508c',
    500: '#220f5d',
    950: '#000000',
  },
}
SCSS
$custom: #220f5d;
$custom-light: #66508c;
$custom-dark: #000000;
JSON
{
  "hex": "#220f5d",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 254.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25947,
    "c": 0.12697,
    "h": 284.4
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#220F5D
secondary
#7E9631
accent
#EF39C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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