#220937#220937

#220937 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.085 H 304.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#220937
RGBrgb(34, 9, 55)
HSLhsl(273, 72%, 13%)
HSVhsv(273, 84%, 22%)
CMYKcmyk(38.2%, 83.6%, 0%, 78.4%)
CIE-LABlab(7.33, 23.36, -24.52)
CIE-LCHlch(7.33, 33.87, 313.61°)
OKLaboklab(21.14% 0.0487 -0.0698)
OKLCHoklch(21.14% 0.085 304.9)
XYZxyz(1.4468, 0.8113, 3.6941)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220937 #1E3709
analogous
#0B0937 #220937 #370935
triadic
#220937 #372209 #093722
tetradic
#220937 #370B09 #1E3709 #093537
square
#220937 #370B09 #1E3709 #093537
split-complementary
#220937 #353709 #09370B
monochromatic
#10041A #10041A #220937 #43126C #631AA0

Accessibility & contrast

On white

18.07
#220937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220937
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220937#FFFFFF#000000##FFFFFF
##2209371.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220937;
/* rgb */ color: rgb(34, 9, 55);
/* oklch */ color: oklch(21.1% 0.085 304.9);
Tailwind
colors: {
  custom: {
    50: '#604b6e',
    500: '#220937',
    950: '#000000',
  },
}
SCSS
$custom: #220937;
$custom-light: #604b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#220937",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 272.609,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21137,
    "c": 0.08516,
    "h": 304.9
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#220937
secondary
#4A7527
accent
#EF398C
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220937

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

Preview Lab → · Contrast checker → · Palette generator →

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