#221054#221054

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

Color values

HEX#221054
RGBrgb(34, 16, 84)
HSLhsl(256, 68%, 20%)
HSVhsv(256, 81%, 33%)
CMYKcmyk(59.5%, 81%, 0%, 67.1%)
CIE-LABlab(11.62, 28.52, -37.91)
CIE-LCHlch(11.62, 47.44, 306.96°)
OKLaboklab(25.09% 0.0336 -0.1091)
OKLCHoklch(25.09% 0.114 287.1)
XYZxyz(2.4447, 1.3506, 8.5177)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221054 #425410
analogous
#102054 #221054 #441054
triadic
#221054 #542210 #105422
tetradic
#221054 #541020 #425410 #105444
square
#221054 #541020 #425410 #105444
split-complementary
#221054 #544410 #205410
monochromatic
#0A051A #0D0621 #221054 #371A87 #4C24BB

Accessibility & contrast

On white

16.53
#221054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221054
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221054#FFFFFF#000000##FFFFFF
##2210541.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#0C2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221054;
/* rgb */ color: rgb(34, 16, 84);
/* oklch */ color: oklch(25.1% 0.114 287.1);
Tailwind
colors: {
  custom: {
    50: '#645085',
    500: '#221054',
    950: '#000000',
  },
}
SCSS
$custom: #221054;
$custom-light: #645085;
$custom-dark: #000000;
JSON
{
  "hex": "#221054",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 255.882,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25085,
    "c": 0.11412,
    "h": 287.1
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#221054
secondary
#758E32
accent
#EB3DBD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221054

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

Preview Lab → · Contrast checker → · Palette generator →

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