#652F96#652F96

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

Color values

HEX#652F96
RGBrgb(101, 47, 150)
HSLhsl(271, 52%, 39%)
HSVhsv(271, 69%, 59%)
CMYKcmyk(32.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(31.81, 43.96, -47.09)
CIE-LCHlch(31.81, 64.42, 313.03°)
OKLaboklab(43.15% 0.0917 -0.1337)
OKLCHoklch(43.15% 0.162 304.5)
XYZxyz(11.8871, 7.0018, 29.5735)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F96 #60962F
analogous
#312F96 #652F96 #962F93
triadic
#652F96 #96652F #2F9665
tetradic
#652F96 #96312F #60962F #2F9396
square
#652F96 #96312F #60962F #2F9396
split-complementary
#652F96 #93962F #2F9631
monochromatic
#261239 #462067 #652F96 #843FC3 #A26ED2

Accessibility & contrast

On white

8.75
#652F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#652F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F96
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F96#FFFFFF#000000##FFFFFF
##652F961.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#5C465E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652f96;
/* rgb */ color: rgb(101, 47, 150);
/* oklch */ color: oklch(43.1% 0.162 304.5);
Tailwind
colors: {
  custom: {
    50: '#956cb6',
    500: '#652f96',
    950: '#000000',
  },
}
SCSS
$custom: #652f96;
$custom-light: #956cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#652f96",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 271.456,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.16215,
    "h": 304.5
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#652F96
secondary
#8EB968
accent
#DC4C90
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F96

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

Preview Lab → · Contrast checker → · Palette generator →

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