#652285#652285

#652285 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.161 H 312.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#652285
RGBrgb(101, 34, 133)
HSLhsl(281, 59%, 33%)
HSVhsv(281, 74%, 52%)
CMYKcmyk(24.1%, 74.4%, 0%, 47.8%)
CIE-LABlab(28.39, 46.04, -42.11)
CIE-LCHlch(28.39, 62.39, 317.55°)
OKLaboklab(40.31% 0.1084 -0.119)
OKLCHoklch(40.31% 0.161 312.3)
XYZxyz(10.1717, 5.6045, 22.7317)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652285 #428522
analogous
#332285 #652285 #852273
triadic
#652285 #856522 #228565
tetradic
#652285 #853322 #428522 #227385
square
#652285 #853322 #428522 #227385
split-complementary
#652285 #738522 #228533
monochromatic
#1B0924 #401654 #652285 #8A2EB6 #A84FD2

Accessibility & contrast

On white

9.90
#652285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#652285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652285
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652285#FFFFFF#000000##FFFFFF
##6522851.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#613851
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652285;
/* rgb */ color: rgb(101, 34, 133);
/* oklch */ color: oklch(40.3% 0.161 312.3);
Tailwind
colors: {
  custom: {
    50: '#9564a9',
    500: '#652285',
    950: '#000000',
  },
}
SCSS
$custom: #652285;
$custom-light: #9564a9;
$custom-dark: #000000;
JSON
{
  "hex": "#652285",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 280.606,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.16093,
    "h": 312.3
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#652285
secondary
#6FB64D
accent
#E24578
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652285

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

Preview Lab → · Contrast checker → · Palette generator →

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