#22104F#22104F

#22104F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.107 H 289.0°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#22104F
RGBrgb(34, 16, 79)
HSLhsl(257, 66%, 19%)
HSVhsv(257, 80%, 31%)
CMYKcmyk(57%, 79.7%, 0%, 69%)
CIE-LABlab(11.10, 26.88, -35.34)
CIE-LCHlch(11.10, 44.40, 307.25°)
OKLaboklab(24.55% 0.035 -0.1015)
OKLCHoklch(24.55% 0.107 289)
XYZxyz(2.2559, 1.2751, 7.5229)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22104F #3D4F10
analogous
#101D4F #22104F #41104F
triadic
#22104F #4F2210 #104F22
tetradic
#22104F #4F101D #3D4F10 #104F41
square
#22104F #4F101D #3D4F10 #104F41
split-complementary
#22104F #4F4110 #1D4F10
monochromatic
#0B0519 #0C061C #22104F #381A82 #4E25B5

Accessibility & contrast

On white

16.73
#22104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22104F
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22104F#FFFFFF#000000##FFFFFF
##22104F1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#11212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #22104f;
/* rgb */ color: rgb(34, 16, 79);
/* oklch */ color: oklch(24.6% 0.107 289.0);
Tailwind
colors: {
  custom: {
    50: '#635081',
    500: '#22104f',
    950: '#000000',
  },
}
SCSS
$custom: #22104f;
$custom-light: #635081;
$custom-dark: #000000;
JSON
{
  "hex": "#22104f",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 257.143,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24554,
    "c": 0.10741,
    "h": 289
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#22104F
secondary
#708932
accent
#E93FB8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #22104F

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

Preview Lab → · Contrast checker → · Palette generator →

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