#652C97#652C97

#652C97 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.167 H 304.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#652C97
RGBrgb(101, 44, 151)
HSLhsl(272, 55%, 38%)
HSVhsv(272, 71%, 59%)
CMYKcmyk(33.1%, 70.9%, 0%, 40.8%)
CIE-LABlab(31.35, 45.69, -48.44)
CIE-LCHlch(31.35, 66.59, 313.33°)
OKLaboklab(42.84% 0.0949 -0.1377)
OKLCHoklch(42.84% 0.167 304.6)
XYZxyz(11.8522, 6.8025, 29.9608)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C97 #5E972C
analogous
#302C97 #652C97 #972C93
triadic
#652C97 #97652C #2C9765
tetradic
#652C97 #97302C #5E972C #2C9397
square
#652C97 #97302C #5E972C #2C9397
split-complementary
#652C97 #93972C #2C9730
monochromatic
#261038 #451E68 #652C97 #853AC6 #A26AD4

Accessibility & contrast

On white

8.90
#652C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C97
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C97#FFFFFF#000000##FFFFFF
##652C971.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652c97;
/* rgb */ color: rgb(101, 44, 151);
/* oklch */ color: oklch(42.8% 0.167 304.6);
Tailwind
colors: {
  custom: {
    50: '#956ab6',
    500: '#652c97',
    950: '#000000',
  },
}
SCSS
$custom: #652c97;
$custom-light: #956ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#652c97",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 271.963,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.16723,
    "h": 304.6
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#652C97
secondary
#8DBA65
accent
#DE4A8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652C97

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

Preview Lab → · Contrast checker → · Palette generator →

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