#652F81#652F81

#652F81 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.138 H 312.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#652F81
RGBrgb(101, 47, 129)
HSLhsl(280, 47%, 35%)
HSVhsv(280, 64%, 51%)
CMYKcmyk(21.7%, 63.6%, 0%, 49.4%)
CIE-LABlab(30.36, 38.88, -36.44)
CIE-LCHlch(30.36, 53.29, 316.86°)
OKLaboklab(41.64% 0.0932 -0.1024)
OKLCHoklch(41.64% 0.138 312.3)
XYZxyz(10.3451, 6.3850, 21.4521)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F81 #4B812F
analogous
#3C2F81 #652F81 #812F74
triadic
#652F81 #81652F #2F8165
tetradic
#652F81 #813C2F #4B812F #2F7481
square
#652F81 #813C2F #4B812F #2F7481
split-complementary
#652F81 #74812F #2F813C
monochromatic
#1F0E27 #421F54 #652F81 #883FAE #A564C6

Accessibility & contrast

On white

9.22
#652F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F81
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F81#FFFFFF#000000##FFFFFF
##652F811.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#623E53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652f81;
/* rgb */ color: rgb(101, 47, 129);
/* oklch */ color: oklch(41.6% 0.138 312.3);
Tailwind
colors: {
  custom: {
    50: '#946ba6',
    500: '#652f81',
    950: '#000000',
  },
}
SCSS
$custom: #652f81;
$custom-light: #946ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#652f81",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 279.512,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.13847,
    "h": 312.3
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#652F81
secondary
#79AD5E
accent
#D6527F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F81

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

Preview Lab → · Contrast checker → · Palette generator →

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