#220737#220737

#220737 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 305.6°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#220737
RGBrgb(34, 7, 55)
HSLhsl(274, 77%, 12%)
HSVhsv(274, 87%, 22%)
CMYKcmyk(38.2%, 87.3%, 0%, 78.4%)
CIE-LABlab(6.94, 24.43, -25.16)
CIE-LCHlch(6.94, 35.07, 314.16°)
OKLaboklab(20.84% 0.0514 -0.0718)
OKLCHoklch(20.84% 0.088 305.6)
XYZxyz(1.4251, 0.7679, 3.6868)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220737 #1C3707
analogous
#0A0737 #220737 #370734
triadic
#220737 #372207 #073722
tetradic
#220737 #370A07 #1C3707 #073437
square
#220737 #370A07 #1C3707 #073437
split-complementary
#220737 #343707 #07370A
monochromatic
#11031B #11031B #220737 #440E6D #6515A4

Accessibility & contrast

On white

18.20
#220737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220737
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220737#FFFFFF#000000##FFFFFF
##2207371.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#1E131E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220737;
/* rgb */ color: rgb(34, 7, 55);
/* oklch */ color: oklch(20.8% 0.088 305.6);
Tailwind
colors: {
  custom: {
    50: '#60496e',
    500: '#220737',
    950: '#000000',
  },
}
SCSS
$custom: #220737;
$custom-light: #60496e;
$custom-dark: #000000;
JSON
{
  "hex": "#220737",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 273.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20838,
    "c": 0.08834,
    "h": 305.6
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#220737
secondary
#487723
accent
#F43488
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220737

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

Preview Lab → · Contrast checker → · Palette generator →

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