#22083A#22083A

#22083A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.090 H 303.0°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#22083A
RGBrgb(34, 8, 58)
HSLhsl(271, 76%, 13%)
HSVhsv(271, 86%, 23%)
CMYKcmyk(41.4%, 86.2%, 0%, 77.3%)
CIE-LABlab(7.40, 24.84, -26.59)
CIE-LCHlch(7.40, 36.38, 313.05°)
OKLaboklab(21.28% 0.0493 -0.0759)
OKLCHoklch(21.28% 0.09 303)
XYZxyz(1.5101, 0.8192, 4.0807)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22083A #203A08
analogous
#09083A #22083A #3A0839
triadic
#22083A #3A2208 #083A22
tetradic
#22083A #3A0908 #203A08 #08393A
square
#22083A #3A0908 #203A08 #08393A
split-complementary
#22083A #393A08 #083A09
monochromatic
#10041B #10041B #22083A #420F70 #6117A6

Accessibility & contrast

On white

18.04
#22083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#22083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22083A
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22083A#FFFFFF#000000##FFFFFF
##22083A1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#1D1520
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22083a;
/* rgb */ color: rgb(34, 8, 58);
/* oklch */ color: oklch(21.3% 0.090 303.0);
Tailwind
colors: {
  custom: {
    50: '#604a71',
    500: '#22083a',
    950: '#000000',
  },
}
SCSS
$custom: #22083a;
$custom-light: #604a71;
$custom-dark: #000000;
JSON
{
  "hex": "#22083a",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 271.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21279,
    "c": 0.09048,
    "h": 303
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#22083A
secondary
#4D7925
accent
#F23590
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #22083A

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

Preview Lab → · Contrast checker → · Palette generator →

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