#221055#221055

#221055 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.115 H 286.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#221055
RGBrgb(34, 16, 85)
HSLhsl(256, 68%, 20%)
HSVhsv(256, 81%, 33%)
CMYKcmyk(60%, 81.2%, 0%, 66.7%)
CIE-LABlab(11.73, 28.85, -38.41)
CIE-LCHlch(11.73, 48.04, 306.91°)
OKLaboklab(25.19% 0.0333 -0.1105)
OKLCHoklch(25.19% 0.115 286.8)
XYZxyz(2.4842, 1.3664, 8.7254)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221055 #435510
analogous
#102155 #221055 #451055
triadic
#221055 #552210 #105522
tetradic
#221055 #551021 #435510 #105545
square
#221055 #551021 #435510 #105545
split-complementary
#221055 #554510 #215510
monochromatic
#0A051A #0D0621 #221055 #371A89 #4B23BC

Accessibility & contrast

On white

16.49
#221055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#221055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221055
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221055#FFFFFF#000000##FFFFFF
##2210551.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221055;
/* rgb */ color: rgb(34, 16, 85);
/* oklch */ color: oklch(25.2% 0.115 286.8);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#221055',
    950: '#000000',
  },
}
SCSS
$custom: #221055;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#221055",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 255.652,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.11545,
    "h": 286.8
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#221055
secondary
#768F32
accent
#EB3DBE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221055

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

Preview Lab → · Contrast checker → · Palette generator →

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