#652488#652488

#652488 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.161 H 310.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#652488
RGBrgb(101, 36, 136)
HSLhsl(279, 58%, 34%)
HSVhsv(279, 74%, 53%)
CMYKcmyk(25.7%, 73.5%, 0%, 46.7%)
CIE-LABlab(28.92, 45.85, -43.13)
CIE-LCHlch(28.92, 62.95, 316.75°)
OKLaboklab(40.76% 0.1058 -0.122)
OKLCHoklch(40.76% 0.161 310.9)
XYZxyz(10.4408, 5.8063, 23.8585)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652488 #478824
analogous
#332488 #652488 #882479
triadic
#652488 #886524 #248865
tetradic
#652488 #883324 #478824 #247988
square
#652488 #883324 #478824 #247988
split-complementary
#652488 #798824 #248833
monochromatic
#1D0A27 #411758 #652488 #8931B8 #A655D2

Accessibility & contrast

On white

9.72
#652488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#652488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652488
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652488#FFFFFF#000000##FFFFFF
##6524881.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#603A54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652488;
/* rgb */ color: rgb(101, 36, 136);
/* oklch */ color: oklch(40.8% 0.161 310.9);
Tailwind
colors: {
  custom: {
    50: '#9565ab',
    500: '#652488',
    950: '#000000',
  },
}
SCSS
$custom: #652488;
$custom-light: #9565ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652488",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 279,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.16149,
    "h": 310.9
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#652488
secondary
#75B652
accent
#E1467D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652488

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

Preview Lab → · Contrast checker → · Palette generator →

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