#652A8C#652A8C

#652A8C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 308.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#652A8C
RGBrgb(101, 42, 140)
HSLhsl(276, 54%, 36%)
HSVhsv(276, 70%, 55%)
CMYKcmyk(27.9%, 70%, 0%, 45.1%)
CIE-LABlab(30.20, 44.00, -43.55)
CIE-LCHlch(30.20, 61.91, 315.30°)
OKLaboklab(41.76% 0.0986 -0.1233)
OKLCHoklch(41.76% 0.158 308.7)
XYZxyz(10.9275, 6.3163, 25.4494)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A8C #518C2A
analogous
#342A8C #652A8C #8C2A82
triadic
#652A8C #8C652A #2A8C65
tetradic
#652A8C #8C342A #518C2A #2A828C
square
#652A8C #8C342A #518C2A #2A828C
split-complementary
#652A8C #828C2A #2A8C34
monochromatic
#210E2E #431C5D #652A8C #8738BB #A361D0

Accessibility & contrast

On white

9.28
#652A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#652A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A8C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A8C#FFFFFF#000000##FFFFFF
##652A8C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#16488A
Tritanopia (blue-blind)
#5F3F57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652a8c;
/* rgb */ color: rgb(101, 42, 140);
/* oklch */ color: oklch(41.8% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#9568ae',
    500: '#652a8c',
    950: '#000000',
  },
}
SCSS
$custom: #652a8c;
$custom-light: #9568ae;
$custom-dark: #000000;
JSON
{
  "hex": "#652a8c",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 276.122,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.15788,
    "h": 308.7
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#652A8C
secondary
#80B55C
accent
#DD4B85
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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