#220940#220940

#220940 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.097 H 298.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#220940
RGBrgb(34, 9, 64)
HSLhsl(267, 75%, 14%)
HSVhsv(267, 86%, 25%)
CMYKcmyk(46.9%, 85.9%, 0%, 74.9%)
CIE-LABlab(8.18, 26.09, -29.62)
CIE-LCHlch(8.18, 39.48, 311.37°)
OKLaboklab(22.02% 0.0464 -0.0847)
OKLCHoklch(22.02% 0.097 298.7)
XYZxyz(1.6826, 0.9056, 4.9356)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220940 #274009
analogous
#090C40 #220940 #3E0940
triadic
#220940 #402209 #094022
tetradic
#220940 #40090C #274009 #09403E
square
#220940 #40090C #274009 #09403E
split-complementary
#220940 #403E09 #0C4009
monochromatic
#0E041B #0E041B #220940 #3F1176 #5B18AB

Accessibility & contrast

On white

17.78
#220940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220940
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220940#FFFFFF#000000##FFFFFF
##2209401.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#1B1824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220940;
/* rgb */ color: rgb(34, 9, 64);
/* oklch */ color: oklch(22.0% 0.097 298.7);
Tailwind
colors: {
  custom: {
    50: '#614b75',
    500: '#220940',
    950: '#000000',
  },
}
SCSS
$custom: #220940;
$custom-light: #614b75;
$custom-dark: #000000;
JSON
{
  "hex": "#220940",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 267.273,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22023,
    "c": 0.09659,
    "h": 298.7
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#220940
secondary
#567E27
accent
#F2369C
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220940

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

Preview Lab → · Contrast checker → · Palette generator →

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