#220931#220931

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

Color values

HEX#220931
RGBrgb(34, 9, 49)
HSLhsl(278, 69%, 11%)
HSVhsv(278, 82%, 19%)
CMYKcmyk(30.6%, 81.6%, 0%, 80.8%)
CIE-LABlab(6.84, 21.48, -20.91)
CIE-LCHlch(6.84, 29.98, 315.78°)
OKLaboklab(20.59% 0.0498 -0.0594)
OKLCHoklch(20.59% 0.077 309.9)
XYZxyz(1.3116, 0.7572, 2.9822)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220931 #183109
analogous
#0E0931 #220931 #31092C
triadic
#220931 #312209 #093122
tetradic
#220931 #310E09 #183109 #092C31
square
#220931 #310E09 #183109 #092C31
split-complementary
#220931 #2C3109 #09310E
monochromatic
#12051A #12051A #220931 #461265 #6A1C98

Accessibility & contrast

On white

18.24
#220931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220931
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220931#FFFFFF#000000##FFFFFF
##2209311.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#041630
Tritanopia (blue-blind)
#20111C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220931;
/* rgb */ color: rgb(34, 9, 49);
/* oklch */ color: oklch(20.6% 0.077 309.9);
Tailwind
colors: {
  custom: {
    50: '#5f4a69',
    500: '#220931',
    950: '#000000',
  },
}
SCSS
$custom: #220931;
$custom-light: #5f4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#220931",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 277.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20592,
    "c": 0.07749,
    "h": 309.9
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#220931
secondary
#426F27
accent
#EC3C7E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220931

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

Preview Lab → · Contrast checker → · Palette generator →

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