#220F58#220F58

#220F58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.121 H 286.0°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#220F58
RGBrgb(34, 15, 88)
HSLhsl(256, 71%, 20%)
HSVhsv(256, 83%, 35%)
CMYKcmyk(61.4%, 83%, 0%, 65.5%)
CIE-LABlab(11.87, 30.38, -40.23)
CIE-LCHlch(11.87, 50.41, 307.06°)
OKLaboklab(25.39% 0.0332 -0.1158)
OKLCHoklch(25.39% 0.121 286)
XYZxyz(2.5914, 1.3862, 9.3616)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F58 #45580F
analogous
#0F2158 #220F58 #460F58
triadic
#220F58 #58220F #0F5822
tetradic
#220F58 #580F21 #45580F #0F5846
square
#220F58 #580F21 #45580F #0F5846
split-complementary
#220F58 #58460F #21580F
monochromatic
#0A041A #0E0624 #220F58 #36188C #4A21C1

Accessibility & contrast

On white

16.44
#220F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F58
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F58#FFFFFF#000000##FFFFFF
##220F581.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#072433
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #220f58;
/* rgb */ color: rgb(34, 15, 88);
/* oklch */ color: oklch(25.4% 0.121 286.0);
Tailwind
colors: {
  custom: {
    50: '#655088',
    500: '#220f58',
    950: '#000000',
  },
}
SCSS
$custom: #220f58;
$custom-light: #655088;
$custom-dark: #000000;
JSON
{
  "hex": "#220f58",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 255.616,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25385,
    "c": 0.12052,
    "h": 286
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#220F58
secondary
#799231
accent
#EE3ABF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F58

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

Preview Lab → · Contrast checker → · Palette generator →

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