#220741#220741

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

Color values

HEX#220741
RGBrgb(34, 7, 65)
HSLhsl(268, 81%, 14%)
HSVhsv(268, 89%, 25%)
CMYKcmyk(47.7%, 89.2%, 0%, 74.5%)
CIE-LABlab(7.89, 27.51, -30.80)
CIE-LCHlch(7.89, 41.30, 311.77°)
OKLaboklab(21.85% 0.0483 -0.0882)
OKLCHoklch(21.85% 0.101 298.7)
XYZxyz(1.6896, 0.8737, 5.0796)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220741 #264107
analogous
#070941 #220741 #3F0741
triadic
#220741 #412207 #074122
tetradic
#220741 #410709 #264107 #07413F
square
#220741 #410709 #264107 #07413F
split-complementary
#220741 #413F07 #094107
monochromatic
#0E031C #0E031C #220741 #3F0D78 #5C13B0

Accessibility & contrast

On white

17.88
#220741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220741
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220741#FFFFFF#000000##FFFFFF
##2207411.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#1A1724
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220741;
/* rgb */ color: rgb(34, 7, 65);
/* oklch */ color: oklch(21.9% 0.101 298.7);
Tailwind
colors: {
  custom: {
    50: '#614a76',
    500: '#220741',
    950: '#000000',
  },
}
SCSS
$custom: #220741;
$custom-light: #614a76;
$custom-dark: #000000;
JSON
{
  "hex": "#220741",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 267.931,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21853,
    "c": 0.10052,
    "h": 298.7
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#220741
secondary
#558024
accent
#F7319B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #220741

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

Preview Lab → · Contrast checker → · Palette generator →

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