#22083B#22083B

#22083B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.092 H 302.3°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#22083B
RGBrgb(34, 8, 59)
HSLhsl(271, 76%, 13%)
HSVhsv(271, 86%, 23%)
CMYKcmyk(42.4%, 86.4%, 0%, 76.9%)
CIE-LABlab(7.49, 25.14, -27.16)
CIE-LCHlch(7.49, 37.01, 312.79°)
OKLaboklab(21.38% 0.049 -0.0775)
OKLCHoklch(21.38% 0.092 302.3)
XYZxyz(1.5357, 0.8295, 4.2160)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22083B #213B08
analogous
#08083B #22083B #3B083A
triadic
#22083B #3B2208 #083B22
tetradic
#22083B #3B0808 #213B08 #083A3B
square
#22083B #3B0808 #213B08 #083A3B
split-complementary
#22083B #3A3B08 #083B08
monochromatic
#10041B #10041B #22083B #410F71 #6017A7

Accessibility & contrast

On white

18.01
#22083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#22083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22083B
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22083B#FFFFFF#000000##FFFFFF
##22083B1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#1D1521
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #22083b;
/* rgb */ color: rgb(34, 8, 59);
/* oklch */ color: oklch(21.4% 0.092 302.3);
Tailwind
colors: {
  custom: {
    50: '#604a71',
    500: '#22083b',
    950: '#000000',
  },
}
SCSS
$custom: #22083b;
$custom-light: #604a71;
$custom-dark: #000000;
JSON
{
  "hex": "#22083b",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 270.588,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21378,
    "c": 0.09172,
    "h": 302.3
  },
  "luminance": 0.0083
}

Semantic roles & 50–950 ramp

primary
#22083B
secondary
#4F7A25
accent
#F33592
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #22083B

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

Preview Lab → · Contrast checker → · Palette generator →

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