#652EA4#652EA4

#652EA4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.179 H 300.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#652EA4
RGBrgb(101, 46, 164)
HSLhsl(268, 56%, 41%)
HSVhsv(268, 72%, 64%)
CMYKcmyk(38.4%, 72%, 0%, 35.7%)
CIE-LABlab(32.70, 47.97, -54.14)
CIE-LCHlch(32.70, 72.34, 311.54°)
OKLaboklab(44.12% 0.0906 -0.1544)
OKLCHoklch(44.12% 0.179 300.4)
XYZxyz(13.0430, 7.4009, 35.8561)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EA4 #6DA42E
analogous
#2E32A4 #652EA4 #A02EA4
triadic
#652EA4 #A4652E #2EA465
tetradic
#652EA4 #A42E32 #6DA42E #2EA4A0
square
#652EA4 #A42E32 #6DA42E #2EA4A0
split-complementary
#652EA4 #A4A02E #32A42E
monochromatic
#2A1344 #482174 #652EA4 #8345CB #A374D8

Accessibility & contrast

On white

8.47
#652EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#652EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EA4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EA4#FFFFFF#000000##FFFFFF
##652EA41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#574B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652ea4;
/* rgb */ color: rgb(101, 46, 164);
/* oklch */ color: oklch(44.1% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#966cc0',
    500: '#652ea4',
    950: '#000000',
  },
}
SCSS
$custom: #652ea4;
$custom-light: #966cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#652ea4",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 267.966,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.17906,
    "h": 300.4
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#652EA4
secondary
#9AC06E
accent
#DF4899
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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