#221076#221076

#221076 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.157 H 278.2°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#221076
RGBrgb(34, 16, 118)
HSLhsl(251, 76%, 26%)
HSVhsv(251, 86%, 46%)
CMYKcmyk(71.2%, 86.4%, 0%, 53.7%)
CIE-LABlab(15.58, 39.42, -53.89)
CIE-LCHlch(15.58, 66.77, 306.19°)
OKLaboklab(29.01% 0.0224 -0.1556)
OKLCHoklch(29.01% 0.157 278.2)
XYZxyz(4.1139, 2.0183, 17.3088)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221076 #647610
analogous
#103176 #221076 #551076
triadic
#221076 #762210 #107622
tetradic
#221076 #761031 #647610 #107655
square
#221076 #761031 #647610 #107655
split-complementary
#221076 #765510 #317610
monochromatic
#08041B #120940 #221076 #3217AC #4220E1

Accessibility & contrast

On white

14.96
#221076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221076
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221076#FFFFFF#000000##FFFFFF
##2210761.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.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: #221076;
/* rgb */ color: rgb(34, 16, 118);
/* oklch */ color: oklch(29.0% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#6c539f',
    500: '#221076',
    950: '#000000',
  },
}
SCSS
$custom: #221076;
$custom-light: #6c539f;
$custom-dark: #000000;
JSON
{
  "hex": "#221076",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 250.588,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29009,
    "c": 0.15726,
    "h": 278.2
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#221076
secondary
#98AD35
accent
#F335D1
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020F
muted
#7B787E

Preview Lab

Preview with #221076

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

Preview Lab → · Contrast checker → · Palette generator →

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