#652EA2#652EA2

#652EA2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.177 H 301.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#652EA2
RGBrgb(101, 46, 162)
HSLhsl(268, 56%, 41%)
HSVhsv(268, 72%, 64%)
CMYKcmyk(37.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(32.54, 47.47, -53.19)
CIE-LCHlch(32.54, 71.29, 311.75°)
OKLaboklab(43.96% 0.091 -0.1516)
OKLCHoklch(43.96% 0.177 301)
XYZxyz(12.8638, 7.3292, 34.9124)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EA2 #6BA22E
analogous
#2E31A2 #652EA2 #9F2EA2
triadic
#652EA2 #A2652E #2EA265
tetradic
#652EA2 #A22E31 #6BA22E #2EA29F
square
#652EA2 #A22E31 #6BA22E #2EA29F
split-complementary
#652EA2 #A29F2E #31A22E
monochromatic
#2A1343 #472072 #652EA2 #8343CA #A373D7

Accessibility & contrast

On white

8.52
#652EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#652EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EA2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EA2#FFFFFF#000000##FFFFFF
##652EA21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#584A65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652ea2;
/* rgb */ color: rgb(101, 46, 162);
/* oklch */ color: oklch(44.0% 0.177 301.0);
Tailwind
colors: {
  custom: {
    50: '#966bbe',
    500: '#652ea2',
    950: '#000000',
  },
}
SCSS
$custom: #652ea2;
$custom-light: #966bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#652ea2",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 268.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.17685,
    "h": 301
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#652EA2
secondary
#98BF6D
accent
#DF4998
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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