#221167#221167

#221167 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.138 H 281.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#221167
RGBrgb(34, 17, 103)
HSLhsl(252, 72%, 24%)
HSVhsv(252, 83%, 40%)
CMYKcmyk(67%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.94, 34.17, -46.82)
CIE-LCHlch(13.94, 57.97, 306.12°)
OKLaboklab(27.35% 0.027 -0.1351)
OKLCHoklch(27.35% 0.138 281.3)
XYZxyz(3.3075, 1.7200, 12.9870)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221167 #566711
analogous
#112B67 #221167 #4D1167
triadic
#221167 #672211 #116722
tetradic
#221167 #67112B #566711 #11674D
square
#221167 #67112B #566711 #11674D
split-complementary
#221167 #674D11 #2B6711
monochromatic
#09041A #110832 #221167 #331A9C #4522D0

Accessibility & contrast

On white

15.62
#221167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#221167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221167
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221167#FFFFFF#000000##FFFFFF
##2211671.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#002065
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221167;
/* rgb */ color: rgb(34, 17, 103);
/* oklch */ color: oklch(27.3% 0.138 281.3);
Tailwind
colors: {
  custom: {
    50: '#685293',
    500: '#221167',
    950: '#000000',
  },
}
SCSS
$custom: #221167;
$custom-light: #685293;
$custom-dark: #000000;
JSON
{
  "hex": "#221167",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 251.86,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27345,
    "c": 0.13778,
    "h": 281.3
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#221167
secondary
#8A9F35
accent
#EE39CB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221167

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

Preview Lab → · Contrast checker → · Palette generator →

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