#221066#221066

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

Color values

HEX#221066
RGBrgb(34, 16, 102)
HSLhsl(253, 73%, 23%)
HSVhsv(253, 84%, 40%)
CMYKcmyk(66.7%, 84.3%, 0%, 60%)
CIE-LABlab(13.65, 34.37, -46.65)
CIE-LCHlch(13.65, 57.94, 306.38°)
OKLaboklab(27.11% 0.0279 -0.1346)
OKLCHoklch(27.11% 0.137 281.7)
XYZxyz(3.2425, 1.6697, 12.7192)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221066 #546610
analogous
#102966 #221066 #4D1066
triadic
#221066 #662210 #106622
tetradic
#221066 #661029 #546610 #10664D
square
#221066 #661029 #546610 #10664D
split-complementary
#221066 #664D10 #296610
monochromatic
#09041A #100831 #221066 #34189B #4521D0

Accessibility & contrast

On white

15.74
#221066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221066
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221066#FFFFFF#000000##FFFFFF
##2210661.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221066;
/* rgb */ color: rgb(34, 16, 102);
/* oklch */ color: oklch(27.1% 0.137 281.7);
Tailwind
colors: {
  custom: {
    50: '#685193',
    500: '#221066',
    950: '#000000',
  },
}
SCSS
$custom: #221066;
$custom-light: #685193;
$custom-dark: #000000;
JSON
{
  "hex": "#221066",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 252.558,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27106,
    "c": 0.13745,
    "h": 281.7
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#221066
secondary
#889E33
accent
#F038C9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221066

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

Preview Lab → · Contrast checker → · Palette generator →

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