#221832#221832

#221832 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.5% C 0.050 H 300.3°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#221832
RGBrgb(34, 24, 50)
HSLhsl(263, 35%, 15%)
HSVhsv(263, 52%, 20%)
CMYKcmyk(32%, 52%, 0%, 80.4%)
CIE-LABlab(10.73, 11.90, -15.45)
CIE-LCHlch(10.73, 19.50, 307.62°)
OKLaboklab(23.52% 0.0253 -0.0432)
OKLCHoklch(23.52% 0.05 300.3)
XYZxyz(1.5619, 1.2236, 3.1709)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221832 #283218
analogous
#181B32 #221832 #2F1832
triadic
#221832 #322218 #183222
tetradic
#221832 #32181B #283218 #18322F
square
#221832 #32181B #283218 #18322F
split-complementary
#221832 #322F18 #1B3218
monochromatic
#0E0A15 #0E0A15 #221832 #3E2C5B #5A4085

Accessibility & contrast

On white

16.87
#221832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221832
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221832#FFFFFF#000000##FFFFFF
##2218321.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D33
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#1F1D22
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #221832;
/* rgb */ color: rgb(34, 24, 50);
/* oklch */ color: oklch(23.5% 0.050 300.3);
Tailwind
colors: {
  custom: {
    50: '#5e556a',
    500: '#221832',
    950: '#000000',
  },
}
SCSS
$custom: #221832;
$custom-light: #5e556a;
$custom-dark: #000000;
JSON
{
  "hex": "#221832",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 263.077,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23524,
    "c": 0.05005,
    "h": 300.3
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#221832
secondary
#58673F
accent
#CB5DA1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040306
muted
#79787A

Preview Lab

Preview with #221832

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

Preview Lab → · Contrast checker → · Palette generator →

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