#652E97#652E97

#652E97 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.165 H 304.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#652E97
RGBrgb(101, 46, 151)
HSLhsl(271, 53%, 39%)
HSVhsv(271, 70%, 59%)
CMYKcmyk(33.1%, 69.5%, 0%, 40.8%)
CIE-LABlab(31.70, 44.71, -47.87)
CIE-LCHlch(31.70, 65.50, 313.04°)
OKLaboklab(43.09% 0.0927 -0.136)
OKLCHoklch(43.09% 0.165 304.3)
XYZxyz(11.9285, 6.9551, 29.9862)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E97 #60972E
analogous
#312E97 #652E97 #972E94
triadic
#652E97 #97652E #2E9765
tetradic
#652E97 #97312E #60972E #2E9497
square
#652E97 #97312E #60972E #2E9497
split-complementary
#652E97 #94972E #2E9731
monochromatic
#261139 #462068 #652E97 #843EC4 #A26DD2

Accessibility & contrast

On white

8.78
#652E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#652E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E97
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E97#FFFFFF#000000##FFFFFF
##652E971.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#5C465F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652e97;
/* rgb */ color: rgb(101, 46, 151);
/* oklch */ color: oklch(43.1% 0.165 304.3);
Tailwind
colors: {
  custom: {
    50: '#956bb6',
    500: '#652e97',
    950: '#000000',
  },
}
SCSS
$custom: #652e97;
$custom-light: #956bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#652e97",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 271.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.16461,
    "h": 304.3
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#652E97
secondary
#8EBA67
accent
#DD4B90
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E97

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

Preview Lab → · Contrast checker → · Palette generator →

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