#652DA2#652DA2

#652DA2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.178 H 301.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#652DA2
RGBrgb(101, 45, 162)
HSLhsl(269, 57%, 41%)
HSVhsv(269, 72%, 64%)
CMYKcmyk(37.7%, 72.2%, 0%, 36.5%)
CIE-LABlab(32.37, 47.95, -53.47)
CIE-LCHlch(32.37, 71.82, 311.88°)
OKLaboklab(43.84% 0.092 -0.1524)
OKLCHoklch(43.84% 0.178 301.1)
XYZxyz(12.8252, 7.2520, 34.8995)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DA2 #6AA22D
analogous
#2D2FA2 #652DA2 #9F2DA2
triadic
#652DA2 #A2652D #2DA265
tetradic
#652DA2 #A22D2F #6AA22D #2DA29F
square
#652DA2 #A22D2F #6AA22D #2DA29F
split-complementary
#652DA2 #A29F2D #2FA22D
monochromatic
#291242 #472072 #652DA2 #8342CA #A372D8

Accessibility & contrast

On white

8.57
#652DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#652DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DA2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DA2#FFFFFF#000000##FFFFFF
##652DA21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#584A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652da2;
/* rgb */ color: rgb(101, 45, 162);
/* oklch */ color: oklch(43.8% 0.178 301.1);
Tailwind
colors: {
  custom: {
    50: '#966bbe',
    500: '#652da2',
    950: '#000000',
  },
}
SCSS
$custom: #652da2;
$custom-light: #966bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#652da2",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 268.718,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.17807,
    "h": 301.1
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#652DA2
secondary
#97BF6C
accent
#E04897
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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