#220638#220638

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

Color values

HEX#220638
RGBrgb(34, 6, 56)
HSLhsl(274, 81%, 12%)
HSVhsv(274, 89%, 22%)
CMYKcmyk(39.3%, 89.3%, 0%, 78%)
CIE-LABlab(6.83, 25.28, -26.06)
CIE-LCHlch(6.83, 36.31, 314.13°)
OKLaboklab(20.78% 0.0525 -0.0745)
OKLCHoklch(20.78% 0.091 305.2)
XYZxyz(1.4385, 0.7559, 3.8107)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220638 #1C3806
analogous
#090638 #220638 #380635
triadic
#220638 #382206 #063822
tetradic
#220638 #380906 #1C3806 #063538
square
#220638 #380906 #1C3806 #063538
split-complementary
#220638 #353806 #063809
monochromatic
#11031C #11031C #220638 #440C6F #6512A7

Accessibility & contrast

On white

18.24
#220638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220638
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220638#FFFFFF#000000##FFFFFF
##2206381.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220638;
/* rgb */ color: rgb(34, 6, 56);
/* oklch */ color: oklch(20.8% 0.091 305.2);
Tailwind
colors: {
  custom: {
    50: '#60496f',
    500: '#220638',
    950: '#000000',
  },
}
SCSS
$custom: #220638;
$custom-light: #60496f;
$custom-dark: #000000;
JSON
{
  "hex": "#220638",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 273.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20784,
    "c": 0.09119,
    "h": 305.2
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#220638
secondary
#487821
accent
#F73188
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220638

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

Preview Lab → · Contrast checker → · Palette generator →

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