#22102E#22102E

#22102E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.060 H 310.0°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#22102E
RGBrgb(34, 16, 46)
HSLhsl(276, 48%, 12%)
HSVhsv(276, 65%, 18%)
CMYKcmyk(26.1%, 65.2%, 0%, 82%)
CIE-LABlab(8.20, 16.42, -16.52)
CIE-LCHlch(8.20, 23.29, 314.83°)
OKLaboklab(21.55% 0.0388 -0.0463)
OKLCHoklch(21.55% 0.06 310)
XYZxyz(1.3380, 0.9079, 2.6890)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22102E #1C2E10
analogous
#13102E #22102E #2E102B
triadic
#22102E #2E2210 #102E22
tetradic
#22102E #2E1310 #1C2E10 #102B2E
square
#22102E #2E1310 #1C2E10 #102B2E
split-complementary
#22102E #2B2E10 #102E13
monochromatic
#110817 #110817 #22102E #44205B #653089

Accessibility & contrast

On white

17.77
#22102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#22102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22102E
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22102E#FFFFFF#000000##FFFFFF
##22102E1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#20151D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22102e;
/* rgb */ color: rgb(34, 16, 46);
/* oklch */ color: oklch(21.6% 0.060 310.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f67',
    500: '#22102e',
    950: '#000000',
  },
}
SCSS
$custom: #22102e;
$custom-light: #5e4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#22102e",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 276,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21551,
    "c": 0.0604,
    "h": 310
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#22102E
secondary
#486733
accent
#D85086
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #22102E

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

Preview Lab → · Contrast checker → · Palette generator →

#22102E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva