#221155#221155

#221155 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.114 H 286.5°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#221155
RGBrgb(34, 17, 85)
HSLhsl(255, 67%, 20%)
HSVhsv(255, 80%, 33%)
CMYKcmyk(60%, 80%, 0%, 66.7%)
CIE-LABlab(11.94, 28.27, -38.08)
CIE-LCHlch(11.94, 47.43, 306.59°)
OKLaboklab(25.34% 0.0324 -0.1096)
OKLCHoklch(25.34% 0.114 286.5)
XYZxyz(2.4993, 1.3967, 8.7305)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221155 #445511
analogous
#112255 #221155 #441155
triadic
#221155 #552211 #115522
tetradic
#221155 #551122 #445511 #115544
square
#221155 #551122 #445511 #115544
split-complementary
#221155 #554411 #225511
monochromatic
#0A051A #0E0722 #221155 #361B88 #4B25BB

Accessibility & contrast

On white

16.41
#221155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#221155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221155
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221155#FFFFFF#000000##FFFFFF
##2211551.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#0B2432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221155;
/* rgb */ color: rgb(34, 17, 85);
/* oklch */ color: oklch(25.3% 0.114 286.5);
Tailwind
colors: {
  custom: {
    50: '#645186',
    500: '#221155',
    950: '#000000',
  },
}
SCSS
$custom: #221155;
$custom-light: #645186;
$custom-dark: #000000;
JSON
{
  "hex": "#221155",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.25336,
    "c": 0.11427,
    "h": 286.5
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#221155
secondary
#788E34
accent
#EA3EBF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221155

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

Preview Lab → · Contrast checker → · Palette generator →

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