#221145#221145

#221145 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.092 H 293.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#221145
RGBrgb(34, 17, 69)
HSLhsl(260, 60%, 17%)
HSVhsv(260, 75%, 27%)
CMYKcmyk(50.7%, 75.4%, 0%, 72.9%)
CIE-LABlab(10.34, 22.97, -29.64)
CIE-LCHlch(10.34, 37.50, 307.78°)
OKLaboklab(23.71% 0.0361 -0.0848)
OKLCHoklch(23.71% 0.092 293.1)
XYZxyz(1.9340, 1.1706, 5.7531)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221145 #344511
analogous
#111A45 #221145 #3C1145
triadic
#221145 #452211 #114522
tetradic
#221145 #45111A #344511 #11453C
square
#221145 #45111A #344511 #11453C
split-complementary
#221145 #453C11 #1A4511
monochromatic
#0C0619 #0C0619 #221145 #3A1D76 #5229A7

Accessibility & contrast

On white

17.02
#221145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#221145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221145
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221145#FFFFFF#000000##FFFFFF
##2211451.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#181E29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221145;
/* rgb */ color: rgb(34, 17, 69);
/* oklch */ color: oklch(23.7% 0.092 293.1);
Tailwind
colors: {
  custom: {
    50: '#615079',
    500: '#221145',
    950: '#000000',
  },
}
SCSS
$custom: #221145;
$custom-light: #615079;
$custom-dark: #000000;
JSON
{
  "hex": "#221145",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 259.615,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23707,
    "c": 0.09216,
    "h": 293.1
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#221145
secondary
#667F33
accent
#E444AF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #221145

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

Preview Lab → · Contrast checker → · Palette generator →

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