#652F9E#652F9E

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

Color values

HEX#652F9E
RGBrgb(101, 47, 158)
HSLhsl(269, 54%, 40%)
HSVhsv(269, 70%, 62%)
CMYKcmyk(36.1%, 70.3%, 0%, 38%)
CIE-LABlab(32.41, 45.97, -50.99)
CIE-LCHlch(32.41, 68.65, 312.03°)
OKLaboklab(43.76% 0.0906 -0.1452)
OKLCHoklch(43.76% 0.171 302)
XYZxyz(12.5534, 7.2683, 33.0827)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9E #689E2F
analogous
#2F319E #652F9E #9C2F9E
triadic
#652F9E #9E652F #2F9E65
tetradic
#652F9E #9E2F31 #689E2F #2F9E9C
square
#652F9E #9E2F31 #689E2F #2F9E9C
split-complementary
#652F9E #9E9C2F #319E2F
monochromatic
#291340 #47216F #652F9E #8343C7 #A272D5

Accessibility & contrast

On white

8.56
#652F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652F9E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9E#FFFFFF#000000##FFFFFF
##652F9E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#594963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9e;
/* rgb */ color: rgb(101, 47, 158);
/* oklch */ color: oklch(43.8% 0.171 302.0);
Tailwind
colors: {
  custom: {
    50: '#966cbb',
    500: '#652f9e',
    950: '#000000',
  },
}
SCSS
$custom: #652f9e;
$custom-light: #966cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9e",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 269.189,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.17113,
    "h": 302
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#652F9E
secondary
#95BD6C
accent
#DE4A96
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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