#221154#221154

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

Color values

HEX#221154
RGBrgb(34, 17, 84)
HSLhsl(255, 66%, 20%)
HSVhsv(255, 80%, 33%)
CMYKcmyk(59.5%, 79.8%, 0%, 67.1%)
CIE-LABlab(11.83, 27.94, -37.57)
CIE-LCHlch(11.83, 46.82, 306.64°)
OKLaboklab(25.23% 0.0327 -0.1081)
OKLCHoklch(25.23% 0.113 286.8)
XYZxyz(2.4599, 1.3809, 8.5227)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221154 #435411
analogous
#112154 #221154 #441154
triadic
#221154 #542211 #115422
tetradic
#221154 #541121 #435411 #115444
square
#221154 #541121 #435411 #115444
split-complementary
#221154 #544411 #215411
monochromatic
#0A0519 #0D0721 #221154 #371B87 #4B26BA

Accessibility & contrast

On white

16.46
#221154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221154
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221154#FFFFFF#000000##FFFFFF
##2211541.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221154;
/* rgb */ color: rgb(34, 17, 84);
/* oklch */ color: oklch(25.2% 0.113 286.8);
Tailwind
colors: {
  custom: {
    50: '#645185',
    500: '#221154',
    950: '#000000',
  },
}
SCSS
$custom: #221154;
$custom-light: #645185;
$custom-dark: #000000;
JSON
{
  "hex": "#221154",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 255.224,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.11292,
    "h": 286.8
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#221154
secondary
#768D34
accent
#E93FBE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221154

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

Preview Lab → · Contrast checker → · Palette generator →

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