#652F9B#652F9B

#652F9B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.168 H 302.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#652F9B
RGBrgb(101, 47, 155)
HSLhsl(270, 53%, 40%)
HSVhsv(270, 70%, 61%)
CMYKcmyk(34.8%, 69.7%, 0%, 39.2%)
CIE-LABlab(32.18, 45.21, -49.54)
CIE-LCHlch(32.18, 67.07, 312.39°)
OKLaboklab(43.53% 0.0911 -0.1409)
OKLCHoklch(43.53% 0.168 302.9)
XYZxyz(12.2984, 7.1663, 31.7393)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9B #659B2F
analogous
#2F2F9B #652F9B #9B2F9B
triadic
#652F9B #9B652F #2F9B65
tetradic
#652F9B #9B2F2F #659B2F #2F9B9B
square
#652F9B #9B2F2F #659B2F #2F9B9B
split-complementary
#652F9B #9B9B2F #2F9B2F
monochromatic
#28133D #46216C #652F9B #8442C6 #A271D4

Accessibility & contrast

On white

8.63
#652F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#652F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F9B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9B#FFFFFF#000000##FFFFFF
##652F9B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#5A4861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9b;
/* rgb */ color: rgb(101, 47, 155);
/* oklch */ color: oklch(43.5% 0.168 302.9);
Tailwind
colors: {
  custom: {
    50: '#956cb9',
    500: '#652f9b',
    950: '#000000',
  },
}
SCSS
$custom: #652f9b;
$custom-light: #956cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9b",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 270,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43529,
    "c": 0.16777,
    "h": 302.9
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#652F9B
secondary
#93BB6A
accent
#DD4B94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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