#652A86#652A86

#652A86 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.151 H 311.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#652A86
RGBrgb(101, 42, 134)
HSLhsl(278, 52%, 35%)
HSVhsv(278, 69%, 53%)
CMYKcmyk(24.6%, 68.7%, 0%, 47.5%)
CIE-LABlab(29.77, 42.59, -40.51)
CIE-LCHlch(29.77, 58.78, 316.44°)
OKLaboklab(41.32% 0.0992 -0.1143)
OKLCHoklch(41.32% 0.151 311)
XYZxyz(10.4971, 6.1441, 23.1826)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A86 #4B862A
analogous
#372A86 #652A86 #862A79
triadic
#652A86 #86652A #2A8665
tetradic
#652A86 #86372A #4B862A #2A7986
square
#652A86 #86372A #4B862A #2A7986
split-complementary
#652A86 #79862A #2A8637
monochromatic
#1F0D29 #421B57 #652A86 #8839B5 #A55ECD

Accessibility & contrast

On white

9.42
#652A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#652A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A86
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A86#FFFFFF#000000##FFFFFF
##652A861.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#613D54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652a86;
/* rgb */ color: rgb(101, 42, 134);
/* oklch */ color: oklch(41.3% 0.151 311.0);
Tailwind
colors: {
  custom: {
    50: '#9468aa',
    500: '#652a86',
    950: '#000000',
  },
}
SCSS
$custom: #652a86;
$custom-light: #9468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652a86",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 278.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.15139,
    "h": 311
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#652A86
secondary
#79B25A
accent
#DC4C80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #652A86

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

Preview Lab → · Contrast checker → · Palette generator →

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