#652A8A#652A8A

#652A8A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.156 H 309.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#652A8A
RGBrgb(101, 42, 138)
HSLhsl(277, 53%, 35%)
HSVhsv(277, 70%, 54%)
CMYKcmyk(26.8%, 69.6%, 0%, 45.9%)
CIE-LABlab(30.05, 43.53, -42.54)
CIE-LCHlch(30.05, 60.86, 315.66°)
OKLaboklab(41.61% 0.0988 -0.1203)
OKLCHoklch(41.61% 0.156 309.4)
XYZxyz(10.7813, 6.2578, 24.6798)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A8A #4F8A2A
analogous
#352A8A #652A8A #8A2A7F
triadic
#652A8A #8A652A #2A8A65
tetradic
#652A8A #8A352A #4F8A2A #2A7F8A
square
#652A8A #8A352A #4F8A2A #2A7F8A
split-complementary
#652A8A #7F8A2A #2A8A35
monochromatic
#200D2C #431C5B #652A8A #8738B9 #A460CF

Accessibility & contrast

On white

9.33
#652A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A8A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A8A#FFFFFF#000000##FFFFFF
##652A8A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#603E56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652a8a;
/* rgb */ color: rgb(101, 42, 138);
/* oklch */ color: oklch(41.6% 0.156 309.4);
Tailwind
colors: {
  custom: {
    50: '#9468ad',
    500: '#652a8a',
    950: '#000000',
  },
}
SCSS
$custom: #652a8a;
$custom-light: #9468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#652a8a",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 276.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.15571,
    "h": 309.4
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#652A8A
secondary
#7EB45B
accent
#DD4B83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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