#220834#220834

#220834 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.083 H 307.7°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#220834
RGBrgb(34, 8, 52)
HSLhsl(275, 73%, 12%)
HSVhsv(275, 85%, 20%)
CMYKcmyk(34.6%, 84.6%, 0%, 79.6%)
CIE-LABlab(6.88, 22.95, -23.05)
CIE-LCHlch(6.88, 32.53, 314.87°)
OKLaboklab(20.71% 0.0507 -0.0657)
OKLCHoklch(20.71% 0.083 307.7)
XYZxyz(1.3662, 0.7617, 3.3232)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220834 #1A3408
analogous
#0C0834 #220834 #340830
triadic
#220834 #342208 #083422
tetradic
#220834 #340C08 #1A3408 #083034
square
#220834 #340C08 #1A3408 #083034
split-complementary
#220834 #303408 #08340C
monochromatic
#11041B #11041B #220834 #451069 #67189E

Accessibility & contrast

On white

18.22
#220834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220834
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220834#FFFFFF#000000##FFFFFF
##2208341.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#1F121D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220834;
/* rgb */ color: rgb(34, 8, 52);
/* oklch */ color: oklch(20.7% 0.083 307.7);
Tailwind
colors: {
  custom: {
    50: '#5f4a6c',
    500: '#220834',
    950: '#000000',
  },
}
SCSS
$custom: #220834;
$custom-light: #5f4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220834",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 275.455,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.08299,
    "h": 307.7
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#220834
secondary
#457325
accent
#F03883
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220834

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

Preview Lab → · Contrast checker → · Palette generator →

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