#220833#220833

#220833 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.082 H 308.5°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#220833
RGBrgb(34, 8, 51)
HSLhsl(276, 73%, 12%)
HSVhsv(276, 84%, 20%)
CMYKcmyk(33.3%, 84.3%, 0%, 80%)
CIE-LABlab(6.80, 22.63, -22.45)
CIE-LCHlch(6.80, 31.87, 315.23°)
OKLaboklab(20.62% 0.0509 -0.064)
OKLCHoklch(20.62% 0.082 308.5)
XYZxyz(1.3439, 0.7528, 3.2058)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220833 #193308
analogous
#0D0833 #220833 #33082F
triadic
#220833 #332208 #083322
tetradic
#220833 #330D08 #193308 #082F33
square
#220833 #330D08 #193308 #082F33
split-complementary
#220833 #2F3308 #08330D
monochromatic
#12041A #12041A #220833 #451068 #69199D

Accessibility & contrast

On white

18.25
#220833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220833
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220833#FFFFFF#000000##FFFFFF
##2208331.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#011532
Tritanopia (blue-blind)
#1F121C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220833;
/* rgb */ color: rgb(34, 8, 51);
/* oklch */ color: oklch(20.6% 0.082 308.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a6b',
    500: '#220833',
    950: '#000000',
  },
}
SCSS
$custom: #220833;
$custom-light: #5f4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#220833",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 276.279,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20615,
    "c": 0.08173,
    "h": 308.5
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#220833
secondary
#437225
accent
#F03881
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220833

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

Preview Lab → · Contrast checker → · Palette generator →

#220833 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva