#220938#220938

#220938 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.086 H 304.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#220938
RGBrgb(34, 9, 56)
HSLhsl(272, 72%, 13%)
HSVhsv(272, 84%, 22%)
CMYKcmyk(39.3%, 83.9%, 0%, 78%)
CIE-LABlab(7.42, 23.67, -25.11)
CIE-LCHlch(7.42, 34.51, 313.31°)
OKLaboklab(21.23% 0.0485 -0.0715)
OKLCHoklch(21.23% 0.086 304.1)
XYZxyz(1.4710, 0.8210, 3.8216)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220938 #1F3809
analogous
#0A0938 #220938 #380936
triadic
#220938 #382209 #093822
tetradic
#220938 #380A09 #1F3809 #093638
square
#220938 #380A09 #1F3809 #093638
split-complementary
#220938 #363809 #09380A
monochromatic
#10041A #10041A #220938 #42116D #621AA1

Accessibility & contrast

On white

18.04
#220938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220938
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220938#FFFFFF#000000##FFFFFF
##2209381.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#1E141F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220938;
/* rgb */ color: rgb(34, 9, 56);
/* oklch */ color: oklch(21.2% 0.086 304.1);
Tailwind
colors: {
  custom: {
    50: '#604b6f',
    500: '#220938',
    950: '#000000',
  },
}
SCSS
$custom: #220938;
$custom-light: #604b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#220938",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 271.915,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21232,
    "c": 0.08643,
    "h": 304.1
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#220938
secondary
#4C7627
accent
#EF398E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220938

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

Preview Lab → · Contrast checker → · Palette generator →

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