#652BA2#652BA2

#652BA2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.180 H 301.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#652BA2
RGBrgb(101, 43, 162)
HSLhsl(269, 58%, 40%)
HSVhsv(269, 73%, 64%)
CMYKcmyk(37.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(32.04, 48.89, -54.01)
CIE-LCHlch(32.04, 72.85, 312.15°)
OKLaboklab(43.6% 0.094 -0.154)
OKLCHoklch(43.6% 0.18 301.4)
XYZxyz(12.7507, 7.1030, 34.8747)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BA2 #68A22B
analogous
#2B2CA2 #652BA2 #A12BA2
triadic
#652BA2 #A2652B #2BA265
tetradic
#652BA2 #A22B2C #68A22B #2BA2A1
square
#652BA2 #A22B2C #68A22B #2BA2A1
split-complementary
#652BA2 #A2A12B #2CA22B
monochromatic
#291141 #471E72 #652BA2 #833ECC #A26FD9

Accessibility & contrast

On white

8.68
#652BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#652BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BA2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BA2#FFFFFF#000000##FFFFFF
##652BA21.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#584864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652ba2;
/* rgb */ color: rgb(101, 43, 162);
/* oklch */ color: oklch(43.6% 0.180 301.4);
Tailwind
colors: {
  custom: {
    50: '#966abe',
    500: '#652ba2',
    950: '#000000',
  },
}
SCSS
$custom: #652ba2;
$custom-light: #966abe;
$custom-dark: #000000;
JSON
{
  "hex": "#652ba2",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 269.244,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.18047,
    "h": 301.4
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#652BA2
secondary
#95C069
accent
#E14796
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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