#22104E#22104E

#22104E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.106 H 289.4°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#22104E
RGBrgb(34, 16, 78)
HSLhsl(257, 66%, 18%)
HSVhsv(257, 79%, 31%)
CMYKcmyk(56.4%, 79.5%, 0%, 69.4%)
CIE-LABlab(11.00, 26.55, -34.82)
CIE-LCHlch(11.00, 43.79, 307.32°)
OKLaboklab(24.45% 0.0353 -0.1)
OKLCHoklch(24.45% 0.106 289.4)
XYZxyz(2.2197, 1.2606, 7.3326)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22104E #3C4E10
analogous
#101D4E #22104E #41104E
triadic
#22104E #4E2210 #104E22
tetradic
#22104E #4E101D #3C4E10 #104E41
square
#22104E #4E101D #3C4E10 #104E41
split-complementary
#22104E #4E4110 #1D4E10
monochromatic
#0B0519 #0C061B #22104E #381A81 #4E25B4

Accessibility & contrast

On white

16.77
#22104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#22104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22104E
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22104E#FFFFFF#000000##FFFFFF
##22104E1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#12202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #22104e;
/* rgb */ color: rgb(34, 16, 78);
/* oklch */ color: oklch(24.4% 0.106 289.4);
Tailwind
colors: {
  custom: {
    50: '#635080',
    500: '#22104e',
    950: '#000000',
  },
}
SCSS
$custom: #22104e;
$custom-light: #635080;
$custom-dark: #000000;
JSON
{
  "hex": "#22104e",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 257.419,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2445,
    "c": 0.10605,
    "h": 289.4
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#22104E
secondary
#6F8832
accent
#E93FB8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #22104E

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

Preview Lab → · Contrast checker → · Palette generator →

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