#221176#221176

#221176 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.1% C 0.156 H 278.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#221176
RGBrgb(34, 17, 118)
HSLhsl(250, 75%, 26%)
HSVhsv(250, 86%, 46%)
CMYKcmyk(71.2%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.74, 38.96, -53.63)
CIE-LCHlch(15.74, 66.29, 306.00°)
OKLaboklab(29.12% 0.022 -0.1549)
OKLCHoklch(29.12% 0.156 278.1)
XYZxyz(4.1291, 2.0486, 17.3139)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221176 #657611
analogous
#113376 #221176 #551176
triadic
#221176 #762211 #117622
tetradic
#221176 #761133 #657611 #117655
square
#221176 #761133 #657611 #117655
split-complementary
#221176 #765511 #337611
monochromatic
#08041B #130941 #221176 #3119AB #4222DF

Accessibility & contrast

On white

14.90
#221176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221176
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221176#FFFFFF#000000##FFFFFF
##2211761.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221176;
/* rgb */ color: rgb(34, 17, 118);
/* oklch */ color: oklch(29.1% 0.156 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c539f',
    500: '#221176',
    950: '#000000',
  },
}
SCSS
$custom: #221176;
$custom-light: #6c539f;
$custom-dark: #000000;
JSON
{
  "hex": "#221176",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 250.099,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29117,
    "c": 0.15647,
    "h": 278.1
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#221176
secondary
#99AD36
accent
#F136D2
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #221176

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

Preview Lab → · Contrast checker → · Palette generator →

#221176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva