#652987#652987

#652987 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.154 H 310.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#652987
RGBrgb(101, 41, 135)
HSLhsl(278, 53%, 35%)
HSVhsv(278, 70%, 53%)
CMYKcmyk(25.2%, 69.6%, 0%, 47.1%)
CIE-LABlab(29.67, 43.31, -41.30)
CIE-LCHlch(29.67, 59.84, 316.36°)
OKLaboklab(41.27% 0.1003 -0.1167)
OKLCHoklch(41.27% 0.154 310.7)
XYZxyz(10.5321, 6.1021, 23.5400)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652987 #4B8729
analogous
#362987 #652987 #87297A
triadic
#652987 #876529 #298765
tetradic
#652987 #873629 #4B8729 #297A87
square
#652987 #873629 #4B8729 #297A87
split-complementary
#652987 #7A8729 #298736
monochromatic
#1F0C29 #421B58 #652987 #8837B6 #A55DCE

Accessibility & contrast

On white

9.46
#652987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#652987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652987
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652987#FFFFFF#000000##FFFFFF
##6529871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#613D54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652987;
/* rgb */ color: rgb(101, 41, 135);
/* oklch */ color: oklch(41.3% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#9468aa',
    500: '#652987',
    950: '#000000',
  },
}
SCSS
$custom: #652987;
$custom-light: #9468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652987",
  "rgb": {
    "r": 101,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 278.298,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.15386,
    "h": 310.7
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#652987
secondary
#79B359
accent
#DD4B80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652987

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

Preview Lab → · Contrast checker → · Palette generator →

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