#22183A#22183A

#22183A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.1% C 0.063 H 294.8°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#22183A
RGBrgb(34, 24, 58)
HSLhsl(258, 41%, 16%)
HSVhsv(258, 59%, 23%)
CMYKcmyk(41.4%, 58.6%, 0%, 77.3%)
CIE-LABlab(11.27, 14.49, -20.35)
CIE-LCHlch(11.27, 24.99, 305.46°)
OKLaboklab(24.1% 0.0265 -0.0575)
OKLCHoklch(24.1% 0.063 294.8)
XYZxyz(1.7498, 1.2988, 4.1607)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22183A #303A18
analogous
#181F3A #22183A #33183A
triadic
#22183A #3A2218 #183A22
tetradic
#22183A #3A181F #303A18 #183A33
square
#22183A #3A181F #303A18 #183A33
split-complementary
#22183A #3A3318 #1F3A18
monochromatic
#0D0916 #0D0916 #22183A #3B2A65 #553C91

Accessibility & contrast

On white

16.67
#22183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#22183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22183A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22183A#FFFFFF#000000##FFFFFF
##22183A1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#0D1D39
Tritanopia (blue-blind)
#1C1F26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #22183a;
/* rgb */ color: rgb(34, 24, 58);
/* oklch */ color: oklch(24.1% 0.063 294.8);
Tailwind
colors: {
  custom: {
    50: '#5f5570',
    500: '#22183a',
    950: '#000000',
  },
}
SCSS
$custom: #22183a;
$custom-light: #5f5570;
$custom-dark: #000000;
JSON
{
  "hex": "#22183a",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 257.647,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24101,
    "c": 0.06334,
    "h": 294.8
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#22183A
secondary
#61703E
accent
#D157AD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040307
muted
#79787A

Preview Lab

Preview with #22183A

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

Preview Lab → · Contrast checker → · Palette generator →

#22183A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva