#220830#220830

#220830 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.078 H 311.2°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#220830
RGBrgb(34, 8, 48)
HSLhsl(279, 71%, 11%)
HSVhsv(279, 83%, 19%)
CMYKcmyk(29.2%, 83.3%, 0%, 81.2%)
CIE-LABlab(6.57, 21.68, -20.60)
CIE-LCHlch(6.57, 29.90, 316.46°)
OKLaboklab(20.35% 0.0514 -0.0587)
OKLCHoklch(20.35% 0.078 311.2)
XYZxyz(1.2799, 0.7272, 2.8687)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220830 #163008
analogous
#0E0830 #220830 #30082A
triadic
#220830 #302208 #083022
tetradic
#220830 #300E08 #163008 #082A30
square
#220830 #300E08 #163008 #082A30
split-complementary
#220830 #2A3008 #08300E
monochromatic
#13041A #13041A #220830 #471164 #6C1999

Accessibility & contrast

On white

18.33
#220830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220830
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220830#FFFFFF#000000##FFFFFF
##2208301.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#04152F
Tritanopia (blue-blind)
#20101B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220830;
/* rgb */ color: rgb(34, 8, 48);
/* oklch */ color: oklch(20.3% 0.078 311.2);
Tailwind
colors: {
  custom: {
    50: '#5f4a68',
    500: '#220830',
    950: '#000000',
  },
}
SCSS
$custom: #220830;
$custom-light: #5f4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#220830",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 279,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20347,
    "c": 0.07799,
    "h": 311.2
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#220830
secondary
#3F6F25
accent
#EE3A79
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220830

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

Preview Lab → · Contrast checker → · Palette generator →

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