#652279#652279

#652279 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.149 H 317.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#652279
RGBrgb(101, 34, 121)
HSLhsl(286, 56%, 30%)
HSVhsv(286, 72%, 47%)
CMYKcmyk(16.5%, 71.9%, 0%, 52.5%)
CIE-LABlab(27.55, 43.42, -35.91)
CIE-LCHlch(27.55, 56.35, 320.41°)
OKLaboklab(39.44% 0.1096 -0.1008)
OKLCHoklch(39.44% 0.149 317.4)
XYZxyz(9.3895, 5.2916, 18.6122)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652279 #367922
analogous
#392279 #652279 #792261
triadic
#652279 #796522 #227965
tetradic
#652279 #793922 #367922 #226179
square
#652279 #793922 #367922 #226179
split-complementary
#652279 #617922 #227939
monochromatic
#150719 #3D1549 #652279 #8D2FA9 #AE49CC

Accessibility & contrast

On white

10.20
#652279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#652279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652279
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652279#FFFFFF#000000##FFFFFF
##6522791.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#64334B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #652279;
/* rgb */ color: rgb(101, 34, 121);
/* oklch */ color: oklch(39.4% 0.149 317.4);
Tailwind
colors: {
  custom: {
    50: '#9463a0',
    500: '#652279',
    950: '#000000',
  },
}
SCSS
$custom: #652279;
$custom-light: #9463a0;
$custom-dark: #000000;
JSON
{
  "hex": "#652279",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 286.207,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.14894,
    "h": 317.4
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#652279
secondary
#61AC4B
accent
#DF486B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #652279

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

Preview Lab → · Contrast checker → · Palette generator →

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