#220538#220538

#220538 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.093 H 305.5°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#220538
RGBrgb(34, 5, 56)
HSLhsl(274, 84%, 12%)
HSVhsv(274, 91%, 22%)
CMYKcmyk(39.3%, 91.1%, 0%, 78%)
CIE-LABlab(6.63, 25.81, -26.38)
CIE-LCHlch(6.63, 36.91, 314.38°)
OKLaboklab(20.63% 0.0539 -0.0756)
OKLCHoklch(20.63% 0.093 305.5)
XYZxyz(1.4276, 0.7342, 3.8071)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220538 #1B3805
analogous
#090538 #220538 #380535
triadic
#220538 #382205 #053822
tetradic
#220538 #380905 #1B3805 #053538
square
#220538 #380905 #1B3805 #053538
split-complementary
#220538 #353805 #053809
monochromatic
#11031C #11031C #220538 #440A70 #660FA8

Accessibility & contrast

On white

18.31
#220538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220538
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220538#FFFFFF#000000##FFFFFF
##2205381.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#1E121E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220538;
/* rgb */ color: rgb(34, 5, 56);
/* oklch */ color: oklch(20.6% 0.093 305.5);
Tailwind
colors: {
  custom: {
    50: '#60486f',
    500: '#220538',
    950: '#000000',
  },
}
SCSS
$custom: #220538;
$custom-light: #60486f;
$custom-dark: #000000;
JSON
{
  "hex": "#220538",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 274.118,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2063,
    "c": 0.09285,
    "h": 305.5
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#220538
secondary
#467920
accent
#FA2E86
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220538

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

Preview Lab → · Contrast checker → · Palette generator →

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