#652A8F#652A8F

#652A8F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.161 H 307.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#652A8F
RGBrgb(101, 42, 143)
HSLhsl(275, 55%, 36%)
HSVhsv(275, 71%, 56%)
CMYKcmyk(29.4%, 70.6%, 0%, 43.9%)
CIE-LABlab(30.41, 44.71, -45.05)
CIE-LCHlch(30.41, 63.47, 314.79°)
OKLaboklab(41.98% 0.0983 -0.1277)
OKLCHoklch(41.98% 0.161 307.6)
XYZxyz(11.1517, 6.4060, 26.6303)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A8F #548F2A
analogous
#332A8F #652A8F #8F2A87
triadic
#652A8F #8F652A #2A8F65
tetradic
#652A8F #8F332A #548F2A #2A878F
square
#652A8F #8F332A #548F2A #2A878F
split-complementary
#652A8F #878F2A #2A8F33
monochromatic
#220E30 #441C60 #652A8F #8638BE #A362D1

Accessibility & contrast

On white

9.21
#652A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A8F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A8F#FFFFFF#000000##FFFFFF
##652A8F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#5E4059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652a8f;
/* rgb */ color: rgb(101, 42, 143);
/* oklch */ color: oklch(42.0% 0.161 307.6);
Tailwind
colors: {
  custom: {
    50: '#9568b0',
    500: '#652a8f',
    950: '#000000',
  },
}
SCSS
$custom: #652a8f;
$custom-light: #9568b0;
$custom-dark: #000000;
JSON
{
  "hex": "#652a8f",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 275.05,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.16113,
    "h": 307.6
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#652A8F
secondary
#83B75E
accent
#DE4A87
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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