#652A88#652A88

#652A88 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.154 H 310.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#652A88
RGBrgb(101, 42, 136)
HSLhsl(278, 53%, 35%)
HSVhsv(278, 69%, 53%)
CMYKcmyk(25.7%, 69.1%, 0%, 46.7%)
CIE-LABlab(29.91, 43.06, -41.53)
CIE-LCHlch(29.91, 59.82, 316.04°)
OKLaboklab(41.47% 0.0991 -0.1173)
OKLCHoklch(41.47% 0.154 310.2)
XYZxyz(10.6379, 6.2004, 23.9242)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A88 #4D882A
analogous
#362A88 #652A88 #882A7C
triadic
#652A88 #88652A #2A8865
tetradic
#652A88 #88362A #4D882A #2A7C88
square
#652A88 #88362A #4D882A #2A7C88
split-complementary
#652A88 #7C882A #2A8836
monochromatic
#200D2A #421C59 #652A88 #8838B7 #A45FCE

Accessibility & contrast

On white

9.38
#652A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#652A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A88
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A88#FFFFFF#000000##FFFFFF
##652A881.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#1C4786
Tritanopia (blue-blind)
#603E55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652a88;
/* rgb */ color: rgb(101, 42, 136);
/* oklch */ color: oklch(41.5% 0.154 310.2);
Tailwind
colors: {
  custom: {
    50: '#9468ab',
    500: '#652a88',
    950: '#000000',
  },
}
SCSS
$custom: #652a88;
$custom-light: #9468ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652a88",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 277.66,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.15356,
    "h": 310.2
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#652A88
secondary
#7CB35B
accent
#DC4C81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652A88

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

Preview Lab → · Contrast checker → · Palette generator →

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