#622173#622173

#622173 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.143 H 318.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#622173
RGBrgb(98, 33, 115)
HSLhsl(288, 55%, 29%)
HSVhsv(288, 71%, 45%)
CMYKcmyk(14.8%, 71.3%, 0%, 54.9%)
CIE-LABlab(26.51, 41.87, -33.78)
CIE-LCHlch(26.51, 53.80, 321.11°)
OKLaboklab(38.48% 0.1072 -0.0947)
OKLCHoklch(38.48% 0.143 318.6)
XYZxyz(8.6750, 4.9226, 16.7095)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622173 #327321
analogous
#392173 #622173 #73215B
triadic
#622173 #736221 #217362
tetradic
#622173 #733921 #327321 #215B73
square
#622173 #733921 #327321 #215B73
split-complementary
#622173 #5B7321 #217339
monochromatic
#140718 #391343 #622173 #8B2FA3 #AE45CA

Accessibility & contrast

On white

10.58
#622173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#622173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622173
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622173#FFFFFF#000000##FFFFFF
##6221731.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#254171
Tritanopia (blue-blind)
#623047
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #622173;
/* rgb */ color: rgb(98, 33, 115);
/* oklch */ color: oklch(38.5% 0.143 318.6);
Tailwind
colors: {
  custom: {
    50: '#91629c',
    500: '#622173',
    950: '#000000',
  },
}
SCSS
$custom: #622173;
$custom-light: #91629c;
$custom-dark: #000000;
JSON
{
  "hex": "#622173",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 287.561,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.14303,
    "h": 318.6
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#622173
secondary
#5DA649
accent
#DF4968
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #622173

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

Preview Lab → · Contrast checker → · Palette generator →

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