#220F76#220F76

#220F76 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.158 H 278.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#220F76
RGBrgb(34, 15, 118)
HSLhsl(251, 77%, 26%)
HSVhsv(251, 87%, 46%)
CMYKcmyk(71.2%, 87.3%, 0%, 53.7%)
CIE-LABlab(15.43, 39.87, -54.14)
CIE-LCHlch(15.43, 67.24, 306.37°)
OKLaboklab(28.9% 0.0229 -0.1564)
OKLCHoklch(28.9% 0.158 278.3)
XYZxyz(4.0995, 1.9894, 17.3040)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F76 #63760F
analogous
#0F2F76 #220F76 #550F76
triadic
#220F76 #76220F #0F7622
tetradic
#220F76 #760F2F #63760F #0F7655
square
#220F76 #760F2F #63760F #0F7655
split-complementary
#220F76 #76550F #2F760F
monochromatic
#08031B #120840 #220F76 #3216AC #411DE2

Accessibility & contrast

On white

15.02
#220F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#220F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F76
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F76#FFFFFF#000000##FFFFFF
##220F761.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #220f76;
/* rgb */ color: rgb(34, 15, 118);
/* oklch */ color: oklch(28.9% 0.158 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c529f',
    500: '#220f76',
    950: '#000000',
  },
}
SCSS
$custom: #220f76;
$custom-light: #6c529f;
$custom-dark: #000000;
JSON
{
  "hex": "#220f76",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 251.068,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28905,
    "c": 0.15802,
    "h": 278.3
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#220F76
secondary
#97AD33
accent
#F434D1
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020F
muted
#7B787E

Preview Lab

Preview with #220F76

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

Preview Lab → · Contrast checker → · Palette generator →

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