#22083C#22083C

#22083C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.093 H 301.6°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#22083C
RGBrgb(34, 8, 60)
HSLhsl(270, 76%, 13%)
HSVhsv(270, 87%, 24%)
CMYKcmyk(43.3%, 86.7%, 0%, 76.5%)
CIE-LABlab(7.59, 25.45, -27.72)
CIE-LCHlch(7.59, 37.63, 312.55°)
OKLaboklab(21.48% 0.0488 -0.0792)
OKLCHoklch(21.48% 0.093 301.6)
XYZxyz(1.5619, 0.8400, 4.3539)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22083C #223C08
analogous
#08083C #22083C #3C083C
triadic
#22083C #3C2208 #083C22
tetradic
#22083C #3C0808 #223C08 #083C3C
square
#22083C #3C0808 #223C08 #083C3C
split-complementary
#22083C #3C3C08 #083C08
monochromatic
#0F041B #0F041B #22083C #410F72 #5F16A8

Accessibility & contrast

On white

17.98
#22083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22083C
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22083C#FFFFFF#000000##FFFFFF
##22083C1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#1C1521
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #22083c;
/* rgb */ color: rgb(34, 8, 60);
/* oklch */ color: oklch(21.5% 0.093 301.6);
Tailwind
colors: {
  custom: {
    50: '#604a72',
    500: '#22083c',
    950: '#000000',
  },
}
SCSS
$custom: #22083c;
$custom-light: #604a72;
$custom-dark: #000000;
JSON
{
  "hex": "#22083c",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 270,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21478,
    "c": 0.09297,
    "h": 301.6
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#22083C
secondary
#507B25
accent
#F33594
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #22083C

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

Preview Lab → · Contrast checker → · Palette generator →

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