#221149#221149

#221149 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.098 H 291.2°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#221149
RGBrgb(34, 17, 73)
HSLhsl(258, 62%, 18%)
HSVhsv(258, 77%, 29%)
CMYKcmyk(53.4%, 76.7%, 0%, 71.4%)
CIE-LABlab(10.72, 24.30, -31.82)
CIE-LCHlch(10.72, 40.03, 307.37°)
OKLaboklab(24.1% 0.0354 -0.0912)
OKLCHoklch(24.1% 0.098 291.2)
XYZxyz(2.0624, 1.2219, 6.4292)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221149 #384911
analogous
#111C49 #221149 #3E1149
triadic
#221149 #492211 #114922
tetradic
#221149 #49111C #384911 #11493E
square
#221149 #49111C #384911 #11493E
split-complementary
#221149 #493E11 #1C4911
monochromatic
#0C0619 #0C0619 #221149 #391D7B #5028AC

Accessibility & contrast

On white

16.88
#221149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#221149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221149
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221149#FFFFFF#000000##FFFFFF
##2211491.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#151F2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #221149;
/* rgb */ color: rgb(34, 17, 73);
/* oklch */ color: oklch(24.1% 0.098 291.2);
Tailwind
colors: {
  custom: {
    50: '#62507c',
    500: '#221149',
    950: '#000000',
  },
}
SCSS
$custom: #221149;
$custom-light: #62507c;
$custom-dark: #000000;
JSON
{
  "hex": "#221149",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 258.214,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24097,
    "c": 0.09781,
    "h": 291.2
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#221149
secondary
#6A8233
accent
#E543B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #221149

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

Preview Lab → · Contrast checker → · Palette generator →

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