#652C88#652C88

#652C88 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.151 H 309.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#652C88
RGBrgb(101, 44, 136)
HSLhsl(277, 51%, 35%)
HSVhsv(277, 68%, 53%)
CMYKcmyk(25.7%, 67.6%, 0%, 46.7%)
CIE-LABlab(30.27, 42.07, -40.95)
CIE-LCHlch(30.27, 58.71, 315.77°)
OKLaboklab(41.72% 0.0967 -0.1157)
OKLCHoklch(41.72% 0.151 309.9)
XYZxyz(10.7106, 6.3459, 23.9484)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C88 #4F882C
analogous
#372C88 #652C88 #882C7D
triadic
#652C88 #88652C #2C8865
tetradic
#652C88 #88372C #4F882C #2C7D88
square
#652C88 #88372C #4F882C #2C7D88
split-complementary
#652C88 #7D882C #2C8837
monochromatic
#200E2C #431D5A #652C88 #873BB6 #A462CC

Accessibility & contrast

On white

9.25
#652C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#652C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C88
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C88#FFFFFF#000000##FFFFFF
##652C881.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#603F56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652c88;
/* rgb */ color: rgb(101, 44, 136);
/* oklch */ color: oklch(41.7% 0.151 309.9);
Tailwind
colors: {
  custom: {
    50: '#9469ab',
    500: '#652c88',
    950: '#000000',
  },
}
SCSS
$custom: #652c88;
$custom-light: #9469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652c88",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 277.174,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.15073,
    "h": 309.9
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#652C88
secondary
#7EB35D
accent
#DB4D83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652C88

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

Preview Lab → · Contrast checker → · Palette generator →

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