#22133D#22133D

#22133D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.077 H 296.4°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#22133D
RGBrgb(34, 19, 61)
HSLhsl(261, 53%, 16%)
HSVhsv(261, 69%, 24%)
CMYKcmyk(44.3%, 68.9%, 0%, 76.1%)
CIE-LABlab(10.13, 19.02, -24.32)
CIE-LCHlch(10.13, 30.88, 308.03°)
OKLaboklab(23.33% 0.0343 -0.0692)
OKLCHoklch(23.33% 0.077 296.4)
XYZxyz(1.7346, 1.1427, 4.5431)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22133D #2E3D13
analogous
#13193D #22133D #37133D
triadic
#22133D #3D2213 #133D22
tetradic
#22133D #3D1319 #2E3D13 #133D37
square
#22133D #3D1319 #2E3D13 #133D37
split-complementary
#22133D #3D3713 #193D13
monochromatic
#0D0717 #0D0717 #22133D #3C226C #56309A

Accessibility & contrast

On white

17.09
#22133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#22133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22133D
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22133D#FFFFFF#000000##FFFFFF
##22133D1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#031B3C
Tritanopia (blue-blind)
#1B1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #22133d;
/* rgb */ color: rgb(34, 19, 61);
/* oklch */ color: oklch(23.3% 0.077 296.4);
Tailwind
colors: {
  custom: {
    50: '#5f5173',
    500: '#22133d',
    950: '#000000',
  },
}
SCSS
$custom: #22133d;
$custom-light: #5f5173;
$custom-dark: #000000;
JSON
{
  "hex": "#22133d",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 261.429,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23333,
    "c": 0.07721,
    "h": 296.4
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#22133D
secondary
#5F7536
accent
#DC4CA8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22133D

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

Preview Lab → · Contrast checker → · Palette generator →

#22133D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva