#652F97#652F97

#652F97 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.163 H 304.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#652F97
RGBrgb(101, 47, 151)
HSLhsl(271, 53%, 39%)
HSVhsv(271, 69%, 59%)
CMYKcmyk(33.1%, 68.9%, 0%, 40.8%)
CIE-LABlab(31.88, 44.21, -47.58)
CIE-LCHlch(31.88, 64.95, 312.90°)
OKLaboklab(43.22% 0.0916 -0.1351)
OKLCHoklch(43.22% 0.163 304.1)
XYZxyz(11.9680, 7.0341, 29.9994)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F97 #61972F
analogous
#312F97 #652F97 #972F95
triadic
#652F97 #97652F #2F9765
tetradic
#652F97 #97312F #61972F #2F9597
square
#652F97 #97312F #61972F #2F9597
split-complementary
#652F97 #95972F #2F9731
monochromatic
#27123A #462068 #652F97 #8440C3 #A26ED2

Accessibility & contrast

On white

8.73
#652F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#652F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F97
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F97#FFFFFF#000000##FFFFFF
##652F971.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#5C465F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652f97;
/* rgb */ color: rgb(101, 47, 151);
/* oklch */ color: oklch(43.2% 0.163 304.1);
Tailwind
colors: {
  custom: {
    50: '#956cb6',
    500: '#652f97',
    950: '#000000',
  },
}
SCSS
$custom: #652f97;
$custom-light: #956cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#652f97",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 271.154,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.16327,
    "h": 304.1
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#652F97
secondary
#8FB968
accent
#DC4C91
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F97

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

Preview Lab → · Contrast checker → · Palette generator →

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