#652F82#652F82

#652F82 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.140 H 311.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#652F82
RGBrgb(101, 47, 130)
HSLhsl(279, 47%, 35%)
HSVhsv(279, 64%, 51%)
CMYKcmyk(22.3%, 63.8%, 0%, 49%)
CIE-LABlab(30.43, 39.12, -36.96)
CIE-LCHlch(30.43, 53.82, 316.62°)
OKLaboklab(41.71% 0.0932 -0.104)
OKLCHoklch(41.71% 0.14 311.9)
XYZxyz(10.4119, 6.4117, 21.8039)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F82 #4C822F
analogous
#3B2F82 #652F82 #822F76
triadic
#652F82 #82652F #2F8265
tetradic
#652F82 #823B2F #4C822F #2F7682
square
#652F82 #823B2F #4C822F #2F7682
split-complementary
#652F82 #76822F #2F823B
monochromatic
#1F0E28 #421F55 #652F82 #883FAF #A564C7

Accessibility & contrast

On white

9.20
#652F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652F82
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F82#FFFFFF#000000##FFFFFF
##652F821.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4585
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#623F54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652f82;
/* rgb */ color: rgb(101, 47, 130);
/* oklch */ color: oklch(41.7% 0.140 311.9);
Tailwind
colors: {
  custom: {
    50: '#946ba7',
    500: '#652f82',
    950: '#000000',
  },
}
SCSS
$custom: #652f82;
$custom-light: #946ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#652f82",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 279.036,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.1396,
    "h": 311.9
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#652F82
secondary
#7AAE5F
accent
#D75180
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F82

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

Preview Lab → · Contrast checker → · Palette generator →

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