#652486#652486

#652486 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.159 H 311.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#652486
RGBrgb(101, 36, 134)
HSLhsl(280, 58%, 33%)
HSVhsv(280, 73%, 53%)
CMYKcmyk(24.6%, 73.1%, 0%, 47.5%)
CIE-LABlab(28.77, 45.39, -42.12)
CIE-LCHlch(28.77, 61.92, 317.14°)
OKLaboklab(40.61% 0.1061 -0.119)
OKLCHoklch(40.61% 0.159 311.7)
XYZxyz(10.3000, 5.7500, 23.1169)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652486 #458624
analogous
#342486 #652486 #862476
triadic
#652486 #866524 #248665
tetradic
#652486 #863424 #458624 #247686
square
#652486 #863424 #458624 #247686
split-complementary
#652486 #768624 #248634
monochromatic
#1C0A26 #411756 #652486 #8931B6 #A753D1

Accessibility & contrast

On white

9.77
#652486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#652486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652486
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652486#FFFFFF#000000##FFFFFF
##6524861.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#613952
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652486;
/* rgb */ color: rgb(101, 36, 134);
/* oklch */ color: oklch(40.6% 0.159 311.7);
Tailwind
colors: {
  custom: {
    50: '#9565aa',
    500: '#652486',
    950: '#000000',
  },
}
SCSS
$custom: #652486;
$custom-light: #9565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652486",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 279.796,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.15945,
    "h": 311.7
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#652486
secondary
#73B551
accent
#E1477B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652486

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

Preview Lab → · Contrast checker → · Palette generator →

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