#221048#221048

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

Color values

HEX#221048
RGBrgb(34, 16, 72)
HSLhsl(259, 64%, 17%)
HSVhsv(259, 78%, 28%)
CMYKcmyk(52.8%, 77.8%, 0%, 71.8%)
CIE-LABlab(10.40, 24.58, -31.64)
CIE-LCHlch(10.40, 40.07, 307.85°)
OKLaboklab(23.84% 0.0367 -0.0907)
OKLCHoklch(23.84% 0.098 292)
XYZxyz(2.0143, 1.1785, 6.2510)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221048 #364810
analogous
#101A48 #221048 #3E1048
triadic
#221048 #482210 #104822
tetradic
#221048 #48101A #364810 #10483E
square
#221048 #48101A #364810 #10483E
split-complementary
#221048 #483E10 #1A4810
monochromatic
#0C0619 #0C0619 #221048 #3A1B7A #5126AC

Accessibility & contrast

On white

16.99
#221048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221048
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221048#FFFFFF#000000##FFFFFF
##2210481.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#161E2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221048;
/* rgb */ color: rgb(34, 16, 72);
/* oklch */ color: oklch(23.8% 0.098 292.0);
Tailwind
colors: {
  custom: {
    50: '#62507c',
    500: '#221048',
    950: '#000000',
  },
}
SCSS
$custom: #221048;
$custom-light: #62507c;
$custom-dark: #000000;
JSON
{
  "hex": "#221048",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 259.286,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23838,
    "c": 0.09783,
    "h": 292
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#221048
secondary
#688232
accent
#E741B1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #221048

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

Preview Lab → · Contrast checker → · Palette generator →

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