#652173#652173

#652173 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.144 H 320.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#652173
RGBrgb(101, 33, 115)
HSLhsl(290, 55%, 29%)
HSVhsv(290, 71%, 45%)
CMYKcmyk(12.2%, 71.3%, 0%, 54.9%)
CIE-LABlab(27.00, 42.60, -32.98)
CIE-LCHlch(27.00, 53.88, 322.26°)
OKLaboklab(38.92% 0.1111 -0.0922)
OKLCHoklch(38.92% 0.144 320.3)
XYZxyz(9.0048, 5.0927, 16.7250)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652173 #2F7321
analogous
#3C2173 #652173 #732158
triadic
#652173 #736521 #217365
tetradic
#652173 #733C21 #2F7321 #215873
square
#652173 #733C21 #2F7321 #215873
split-complementary
#652173 #587321 #21733C
monochromatic
#150718 #3B1343 #652173 #8F2FA3 #B345CA

Accessibility & contrast

On white

10.40
#652173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#652173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652173
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652173#FFFFFF#000000##FFFFFF
##6521731.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#663047
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #652173;
/* rgb */ color: rgb(101, 33, 115);
/* oklch */ color: oklch(38.9% 0.144 320.3);
Tailwind
colors: {
  custom: {
    50: '#94639c',
    500: '#652173',
    950: '#000000',
  },
}
SCSS
$custom: #652173;
$custom-light: #94639c;
$custom-dark: #000000;
JSON
{
  "hex": "#652173",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 289.756,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.14442,
    "h": 320.3
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#652173
secondary
#59A649
accent
#DF4963
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #652173

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

Preview Lab → · Contrast checker → · Palette generator →

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