#220648#220648

#220648 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.5% C 0.110 H 295.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#220648
RGBrgb(34, 6, 72)
HSLhsl(265, 85%, 15%)
HSVhsv(265, 92%, 28%)
CMYKcmyk(52.8%, 91.7%, 0%, 71.8%)
CIE-LABlab(8.47, 30.11, -34.81)
CIE-LCHlch(8.47, 46.02, 310.86°)
OKLaboklab(22.48% 0.0466 -0.0999)
OKLCHoklch(22.48% 0.11 295)
XYZxyz(1.8942, 0.9382, 6.2109)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220648 #2C4806
analogous
#060B48 #220648 #430648
triadic
#220648 #482206 #064822
tetradic
#220648 #48060B #2C4806 #064843
square
#220648 #48060B #2C4806 #064843
split-complementary
#220648 #484306 #0B4806
monochromatic
#0D021C #0D021C #220648 #3D0B80 #570FB9

Accessibility & contrast

On white

17.68
#220648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220648
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220648#FFFFFF#000000##FFFFFF
##2206481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#171928
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220648;
/* rgb */ color: rgb(34, 6, 72);
/* oklch */ color: oklch(22.5% 0.110 295.0);
Tailwind
colors: {
  custom: {
    50: '#634a7c',
    500: '#220648',
    950: '#000000',
  },
}
SCSS
$custom: #220648;
$custom-light: #634a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220648",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 265.455,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22484,
    "c": 0.11022,
    "h": 295
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#220648
secondary
#5D8723
accent
#FB2DA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #220648

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

Preview Lab → · Contrast checker → · Palette generator →

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