#652A87#652A87

#652A87 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.152 H 310.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#652A87
RGBrgb(101, 42, 135)
HSLhsl(278, 53%, 35%)
HSVhsv(278, 69%, 53%)
CMYKcmyk(25.2%, 68.9%, 0%, 47.1%)
CIE-LABlab(29.84, 42.83, -41.02)
CIE-LCHlch(29.84, 59.30, 316.24°)
OKLaboklab(41.39% 0.0991 -0.1158)
OKLCHoklch(41.39% 0.152 310.6)
XYZxyz(10.5671, 6.1721, 23.5516)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A87 #4C872A
analogous
#372A87 #652A87 #872A7A
triadic
#652A87 #87652A #2A8765
tetradic
#652A87 #87372A #4C872A #2A7A87
square
#652A87 #87372A #4C872A #2A7A87
split-complementary
#652A87 #7A872A #2A8737
monochromatic
#1F0D2A #421B58 #652A87 #8839B6 #A55ECD

Accessibility & contrast

On white

9.40
#652A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#652A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A87
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A87#FFFFFF#000000##FFFFFF
##652A871.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#613D55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652a87;
/* rgb */ color: rgb(101, 42, 135);
/* oklch */ color: oklch(41.4% 0.152 310.6);
Tailwind
colors: {
  custom: {
    50: '#9468aa',
    500: '#652a87',
    950: '#000000',
  },
}
SCSS
$custom: #652a87;
$custom-light: #9468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652a87",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 278.065,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.15247,
    "h": 310.6
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#652A87
secondary
#7AB35A
accent
#DC4C81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A87

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

Preview Lab → · Contrast checker → · Palette generator →

#652A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva