#221165#221165

#221165 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.135 H 281.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#221165
RGBrgb(34, 17, 101)
HSLhsl(252, 71%, 23%)
HSVhsv(252, 83%, 40%)
CMYKcmyk(66.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.71, 33.53, -45.89)
CIE-LCHlch(13.71, 56.83, 306.15°)
OKLaboklab(27.12% 0.0276 -0.1324)
OKLCHoklch(27.12% 0.135 281.8)
XYZxyz(3.2084, 1.6803, 12.4647)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221165 #546511
analogous
#112A65 #221165 #4C1165
triadic
#221165 #652211 #116522
tetradic
#221165 #65112A #546511 #11654C
square
#221165 #65112A #546511 #11654C
split-complementary
#221165 #654C11 #2A6511
monochromatic
#09041A #100831 #221165 #341A99 #4523CE

Accessibility & contrast

On white

15.72
#221165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221165
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221165#FFFFFF#000000##FFFFFF
##2211651.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221165;
/* rgb */ color: rgb(34, 17, 101);
/* oklch */ color: oklch(27.1% 0.135 281.8);
Tailwind
colors: {
  custom: {
    50: '#685292',
    500: '#221165',
    950: '#000000',
  },
}
SCSS
$custom: #221165;
$custom-light: #685292;
$custom-dark: #000000;
JSON
{
  "hex": "#221165",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 252.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27115,
    "c": 0.13523,
    "h": 281.8
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#221165
secondary
#889D35
accent
#EE3AC9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221165

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

Preview Lab → · Contrast checker → · Palette generator →

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