#22083F#22083F

#22083F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 299.7°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#22083F
RGBrgb(34, 8, 63)
HSLhsl(268, 77%, 14%)
HSVhsv(268, 87%, 25%)
CMYKcmyk(46%, 87.3%, 0%, 75.3%)
CIE-LABlab(7.88, 26.35, -29.39)
CIE-LCHlch(7.88, 39.48, 311.88°)
OKLaboklab(21.78% 0.0478 -0.084)
OKLCHoklch(21.78% 0.097 299.7)
XYZxyz(1.6435, 0.8726, 4.7835)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22083F #253F08
analogous
#08093F #22083F #3E083F
triadic
#22083F #3F2208 #083F22
tetradic
#22083F #3F0809 #253F08 #083F3E
square
#22083F #3F0809 #253F08 #083F3E
split-complementary
#22083F #3F3E08 #093F08
monochromatic
#0F031B #0F031B #22083F #3F0F75 #5D16AC

Accessibility & contrast

On white

17.88
#22083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22083F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22083F#FFFFFF#000000##FFFFFF
##22083F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#1B1723
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #22083f;
/* rgb */ color: rgb(34, 8, 63);
/* oklch */ color: oklch(21.8% 0.097 299.7);
Tailwind
colors: {
  custom: {
    50: '#614a75',
    500: '#22083f',
    950: '#000000',
  },
}
SCSS
$custom: #22083f;
$custom-light: #614a75;
$custom-dark: #000000;
JSON
{
  "hex": "#22083f",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 268.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21783,
    "c": 0.0967,
    "h": 299.7
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#22083F
secondary
#547E25
accent
#F43499
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #22083F

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

Preview Lab → · Contrast checker → · Palette generator →

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