#652D97#652D97

#652D97 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.166 H 304.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#652D97
RGBrgb(101, 45, 151)
HSLhsl(272, 54%, 38%)
HSVhsv(272, 70%, 59%)
CMYKcmyk(33.1%, 70.2%, 0%, 40.8%)
CIE-LABlab(31.53, 45.20, -48.16)
CIE-LCHlch(31.53, 66.05, 313.19°)
OKLaboklab(42.97% 0.0938 -0.1368)
OKLCHoklch(42.97% 0.166 304.4)
XYZxyz(11.8899, 6.8779, 29.9733)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D97 #5F972D
analogous
#302D97 #652D97 #972D94
triadic
#652D97 #97652D #2D9765
tetradic
#652D97 #97302D #5F972D #2D9497
square
#652D97 #97302D #5F972D #2D9497
split-complementary
#652D97 #94972D #2D9730
monochromatic
#261139 #451F68 #652D97 #843CC5 #A26BD3

Accessibility & contrast

On white

8.84
#652D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#652D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D97
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D97#FFFFFF#000000##FFFFFF
##652D971.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#5C455E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652d97;
/* rgb */ color: rgb(101, 45, 151);
/* oklch */ color: oklch(43.0% 0.166 304.4);
Tailwind
colors: {
  custom: {
    50: '#956ab6',
    500: '#652d97',
    950: '#000000',
  },
}
SCSS
$custom: #652d97;
$custom-light: #956ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#652d97",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 271.698,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.16593,
    "h": 304.4
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#652D97
secondary
#8EBA66
accent
#DD4A90
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D97

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

Preview Lab → · Contrast checker → · Palette generator →

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