#220628#220628

#220628 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.072 H 320.2°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#220628
RGBrgb(34, 6, 40)
HSLhsl(289, 74%, 9%)
HSVhsv(289, 85%, 16%)
CMYKcmyk(15%, 85%, 0%, 84.3%)
CIE-LABlab(5.63, 20.12, -16.07)
CIE-LCHlch(5.63, 25.75, 321.38°)
OKLaboklab(19.34% 0.0555 -0.0463)
OKLCHoklch(19.34% 0.072 320.2)
XYZxyz(1.1078, 0.6236, 2.0691)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220628 #0C2806
analogous
#110628 #220628 #28061D
triadic
#220628 #282206 #062822
tetradic
#220628 #281106 #0C2806 #061D28
square
#220628 #281106 #0C2806 #061D28
split-complementary
#220628 #1D2806 #062811
monochromatic
#17041B #17041B #220628 #4F0E5D #7C1692

Accessibility & contrast

On white

18.67
#220628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#220628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220628
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220628#FFFFFF#000000##FFFFFF
##2206281.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#091327
Tritanopia (blue-blind)
#220C16
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220628;
/* rgb */ color: rgb(34, 6, 40);
/* oklch */ color: oklch(19.3% 0.072 320.2);
Tailwind
colors: {
  custom: {
    50: '#5e4962',
    500: '#220628',
    950: '#000000',
  },
}
SCSS
$custom: #220628;
$custom-light: #5e4962;
$custom-dark: #000000;
JSON
{
  "hex": "#220628",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 289.412,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19336,
    "c": 0.07233,
    "h": 320.2
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#220628
secondary
#2E6921
accent
#F13758
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040105
muted
#797779

Preview Lab

Preview with #220628

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

Preview Lab → · Contrast checker → · Palette generator →

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