#221163#221163

#221163 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.133 H 282.3°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#221163
RGBrgb(34, 17, 99)
HSLhsl(252, 71%, 23%)
HSVhsv(252, 83%, 39%)
CMYKcmyk(65.7%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.48, 32.88, -44.94)
CIE-LCHlch(13.48, 55.68, 306.19°)
OKLaboklab(26.89% 0.0283 -0.1296)
OKLCHoklch(26.89% 0.133 282.3)
XYZxyz(3.1116, 1.6416, 11.9549)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221163 #526311
analogous
#112963 #221163 #4B1163
triadic
#221163 #632211 #116322
tetradic
#221163 #631129 #526311 #11634B
square
#221163 #631129 #526311 #11634B
split-complementary
#221163 #634B11 #296311
monochromatic
#09041A #10082F #221163 #341A97 #4623CB

Accessibility & contrast

On white

15.81
#221163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#221163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221163
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221163#FFFFFF#000000##FFFFFF
##2211631.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221163;
/* rgb */ color: rgb(34, 17, 99);
/* oklch */ color: oklch(26.9% 0.133 282.3);
Tailwind
colors: {
  custom: {
    50: '#675290',
    500: '#221163',
    950: '#000000',
  },
}
SCSS
$custom: #221163;
$custom-light: #675290;
$custom-dark: #000000;
JSON
{
  "hex": "#221163",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 252.439,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26886,
    "c": 0.13266,
    "h": 282.3
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#221163
secondary
#869B34
accent
#ED3AC8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221163

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

Preview Lab → · Contrast checker → · Palette generator →

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