#652F95#652F95

#652F95 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.161 H 304.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#652F95
RGBrgb(101, 47, 149)
HSLhsl(272, 52%, 38%)
HSVhsv(272, 68%, 58%)
CMYKcmyk(32.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(31.74, 43.71, -46.60)
CIE-LCHlch(31.74, 63.89, 313.17°)
OKLaboklab(43.07% 0.0919 -0.1323)
OKLCHoklch(43.07% 0.161 304.8)
XYZxyz(11.8069, 6.9697, 29.1512)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F95 #5F952F
analogous
#322F95 #652F95 #952F92
triadic
#652F95 #95652F #2F9565
tetradic
#652F95 #95322F #5F952F #2F9295
square
#652F95 #95322F #5F952F #2F9295
split-complementary
#652F95 #92952F #2F9532
monochromatic
#261238 #452066 #652F95 #843FC2 #A26DD1

Accessibility & contrast

On white

8.77
#652F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#652F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F95
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F95#FFFFFF#000000##FFFFFF
##652F951.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#0C4B93
Tritanopia (blue-blind)
#5C465E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #652f95;
/* rgb */ color: rgb(101, 47, 149);
/* oklch */ color: oklch(43.1% 0.161 304.8);
Tailwind
colors: {
  custom: {
    50: '#956cb5',
    500: '#652f95',
    950: '#000000',
  },
}
SCSS
$custom: #652f95;
$custom-light: #956cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#652f95",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 271.765,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4307,
    "c": 0.16103,
    "h": 304.8
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#652F95
secondary
#8EB867
accent
#DB4C90
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F95

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

Preview Lab → · Contrast checker → · Palette generator →

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