#221056#221056

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

Color values

HEX#221056
RGBrgb(34, 16, 86)
HSLhsl(255, 69%, 20%)
HSVhsv(255, 81%, 34%)
CMYKcmyk(60.5%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.84, 29.18, -38.91)
CIE-LCHlch(11.84, 48.64, 306.86°)
OKLaboklab(25.3% 0.033 -0.112)
OKLCHoklch(25.3% 0.117 286.4)
XYZxyz(2.5242, 1.3824, 8.9361)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221056 #445610
analogous
#102156 #221056 #451056
triadic
#221056 #562210 #105622
tetradic
#221056 #561021 #445610 #105645
square
#221056 #561021 #445610 #105645
split-complementary
#221056 #564510 #215610
monochromatic
#0A051A #0E0622 #221056 #361A8A #4B23BD

Accessibility & contrast

On white

16.45
#221056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221056
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221056#FFFFFF#000000##FFFFFF
##2210561.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#0A2432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221056;
/* rgb */ color: rgb(34, 16, 86);
/* oklch */ color: oklch(25.3% 0.117 286.4);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#221056',
    950: '#000000',
  },
}
SCSS
$custom: #221056;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#221056",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 255.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.25301,
    "c": 0.11678,
    "h": 286.4
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#221056
secondary
#788F32
accent
#EB3CBE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221056

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

Preview Lab → · Contrast checker → · Palette generator →

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