#652E99#652E99

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

Color values

HEX#652E99
RGBrgb(101, 46, 153)
HSLhsl(271, 54%, 39%)
HSVhsv(271, 70%, 60%)
CMYKcmyk(34%, 69.9%, 0%, 40%)
CIE-LABlab(31.85, 45.21, -48.85)
CIE-LCHlch(31.85, 66.56, 312.78°)
OKLaboklab(43.25% 0.0925 -0.1389)
OKLCHoklch(43.25% 0.167 303.7)
XYZxyz(12.0923, 7.0206, 30.8489)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E99 #62992E
analogous
#302E99 #652E99 #992E98
triadic
#652E99 #99652E #2E9965
tetradic
#652E99 #99302E #62992E #2E9899
square
#652E99 #99302E #62992E #2E9899
split-complementary
#652E99 #98992E #2E9930
monochromatic
#27123B #46206A #652E99 #843FC5 #A26ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652E99#FFFFFF#000000##FFFFFF
##652E991.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#5B4760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652e99;
/* rgb */ color: rgb(101, 46, 153);
/* oklch */ color: oklch(43.2% 0.167 303.7);
Tailwind
colors: {
  custom: {
    50: '#956bb8',
    500: '#652e99',
    950: '#000000',
  },
}
SCSS
$custom: #652e99;
$custom-light: #956bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#652e99",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 270.841,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.16684,
    "h": 303.7
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#652E99
secondary
#90BB68
accent
#DD4B92
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E99

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

Preview Lab → · Contrast checker → · Palette generator →

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