#221052#221052

#221052 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.111 H 287.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#221052
RGBrgb(34, 16, 82)
HSLhsl(256, 67%, 19%)
HSVhsv(256, 80%, 32%)
CMYKcmyk(58.5%, 80.5%, 0%, 67.8%)
CIE-LABlab(11.41, 27.87, -36.89)
CIE-LCHlch(11.41, 46.23, 307.07°)
OKLaboklab(24.87% 0.0342 -0.1061)
OKLCHoklch(24.87% 0.111 287.9)
XYZxyz(2.3675, 1.3197, 8.1110)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221052 #405210
analogous
#101F52 #221052 #431052
triadic
#221052 #522210 #105222
tetradic
#221052 #52101F #405210 #105243
square
#221052 #52101F #405210 #105243
split-complementary
#221052 #524310 #1F5210
monochromatic
#0B051A #0D061F #221052 #371A85 #4C24B8

Accessibility & contrast

On white

16.61
#221052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#221052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221052
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221052#FFFFFF#000000##FFFFFF
##2210521.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#0F2230
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #221052;
/* rgb */ color: rgb(34, 16, 82);
/* oklch */ color: oklch(24.9% 0.111 287.9);
Tailwind
colors: {
  custom: {
    50: '#645083',
    500: '#221052',
    950: '#000000',
  },
}
SCSS
$custom: #221052;
$custom-light: #645083;
$custom-dark: #000000;
JSON
{
  "hex": "#221052",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 256.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24871,
    "c": 0.11145,
    "h": 287.9
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#221052
secondary
#738C32
accent
#EA3EBB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221052

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

Preview Lab → · Contrast checker → · Palette generator →

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