#652D8B#652D8B

#652D8B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.153 H 308.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#652D8B
RGBrgb(101, 45, 139)
HSLhsl(276, 51%, 36%)
HSVhsv(276, 68%, 55%)
CMYKcmyk(27.3%, 67.6%, 0%, 45.5%)
CIE-LABlab(30.66, 42.28, -42.18)
CIE-LCHlch(30.66, 59.73, 315.07°)
OKLaboklab(42.07% 0.0952 -0.1193)
OKLCHoklch(42.07% 0.153 308.6)
XYZxyz(10.9645, 6.5077, 25.0996)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D8B #538B2D
analogous
#362D8B #652D8B #8B2D82
triadic
#652D8B #8B652D #2D8B65
tetradic
#652D8B #8B362D #538B2D #2D828B
square
#652D8B #8B362D #538B2D #2D828B
split-complementary
#652D8B #828B2D #2D8B36
monochromatic
#220F2F #431E5D #652D8B #873CB9 #A365CD

Accessibility & contrast

On white

9.12
#652D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D8B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D8B#FFFFFF#000000##FFFFFF
##652D8B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#5F4158
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652d8b;
/* rgb */ color: rgb(101, 45, 139);
/* oklch */ color: oklch(42.1% 0.153 308.6);
Tailwind
colors: {
  custom: {
    50: '#946aad',
    500: '#652d8b',
    950: '#000000',
  },
}
SCSS
$custom: #652d8b;
$custom-light: #946aad;
$custom-dark: #000000;
JSON
{
  "hex": "#652d8b",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 275.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.15263,
    "h": 308.6
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#652D8B
secondary
#82B460
accent
#DB4D86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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