#652FA5#652FA5

#652FA5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.179 H 300.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#652FA5
RGBrgb(101, 47, 165)
HSLhsl(267, 56%, 42%)
HSVhsv(267, 72%, 65%)
CMYKcmyk(38.8%, 71.5%, 0%, 35.3%)
CIE-LABlab(32.95, 47.74, -54.34)
CIE-LCHlch(32.95, 72.33, 311.31°)
OKLaboklab(44.32% 0.0894 -0.155)
OKLCHoklch(44.32% 0.179 300)
XYZxyz(13.1732, 7.5162, 36.3468)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FA5 #6FA52F
analogous
#2F34A5 #652FA5 #A02FA5
triadic
#652FA5 #A5652F #2FA565
tetradic
#652FA5 #A52F34 #6FA52F #2FA5A0
square
#652FA5 #A52F34 #6FA52F #2FA5A0
split-complementary
#652FA5 #A5A02F #34A52F
monochromatic
#2B1446 #482175 #652FA5 #8347CB #A376D8

Accessibility & contrast

On white

8.39
#652FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#652FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FA5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FA5#FFFFFF#000000##FFFFFF
##652FA51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#564C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #652fa5;
/* rgb */ color: rgb(101, 47, 165);
/* oklch */ color: oklch(44.3% 0.179 300.0);
Tailwind
colors: {
  custom: {
    50: '#966cc1',
    500: '#652fa5',
    950: '#000000',
  },
}
SCSS
$custom: #652fa5;
$custom-light: #966cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#652fa5",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 267.458,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44322,
    "c": 0.17896,
    "h": 300
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#652FA5
secondary
#9BC070
accent
#DF499A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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