#221545#221545

#221545 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.086 H 291.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#221545
RGBrgb(34, 21, 69)
HSLhsl(256, 53%, 18%)
HSVhsv(256, 70%, 27%)
CMYKcmyk(50.7%, 69.6%, 0%, 72.9%)
CIE-LABlab(11.32, 20.33, -28.05)
CIE-LCHlch(11.32, 34.64, 305.94°)
OKLaboklab(24.42% 0.031 -0.0801)
OKLCHoklch(24.42% 0.086 291.2)
XYZxyz(2.0017, 1.3060, 5.7757)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221545 #384515
analogous
#152045 #221545 #3A1545
triadic
#221545 #452215 #154522
tetradic
#221545 #451520 #384515 #15453A
square
#221545 #451520 #384515 #15453A
split-complementary
#221545 #453A15 #204515
monochromatic
#0C0717 #0C0717 #221545 #392374 #5032A3

Accessibility & contrast

On white

16.65
#221545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#221545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221545
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221545#FFFFFF#000000##FFFFFF
##2215451.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#18202A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #221545;
/* rgb */ color: rgb(34, 21, 69);
/* oklch */ color: oklch(24.4% 0.086 291.2);
Tailwind
colors: {
  custom: {
    50: '#615379',
    500: '#221545',
    950: '#000000',
  },
}
SCSS
$custom: #221545;
$custom-light: #615379;
$custom-dark: #000000;
JSON
{
  "hex": "#221545",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 256.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24415,
    "c": 0.08592,
    "h": 291.2
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#221545
secondary
#6A7D39
accent
#DD4BB5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #221545

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

Preview Lab → · Contrast checker → · Palette generator →

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