#652C8D#652C8D

#652C8D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.156 H 308.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#652C8D
RGBrgb(101, 44, 141)
HSLhsl(275, 52%, 36%)
HSVhsv(275, 69%, 55%)
CMYKcmyk(28.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(30.62, 43.26, -43.48)
CIE-LCHlch(30.62, 61.34, 314.85°)
OKLaboklab(42.09% 0.0962 -0.1231)
OKLCHoklch(42.09% 0.156 308)
XYZxyz(11.0742, 6.4913, 25.8637)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C8D #548D2C
analogous
#352C8D #652C8D #8D2C85
triadic
#652C8D #8D652C #2C8D65
tetradic
#652C8D #8D352C #548D2C #2C858D
square
#652C8D #8D352C #548D2C #2C858D
split-complementary
#652C8D #858D2C #2C8D35
monochromatic
#220F30 #441D5E #652C8D #863BBC #A365CF

Accessibility & contrast

On white

9.14
#652C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C8D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C8D#FFFFFF#000000##FFFFFF
##652C8D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#17498B
Tritanopia (blue-blind)
#5F4159
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652c8d;
/* rgb */ color: rgb(101, 44, 141);
/* oklch */ color: oklch(42.1% 0.156 308.0);
Tailwind
colors: {
  custom: {
    50: '#956aaf',
    500: '#652c8d',
    950: '#000000',
  },
}
SCSS
$custom: #652c8d;
$custom-light: #956aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#652c8d",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 275.258,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.15624,
    "h": 308
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#652C8D
secondary
#83B560
accent
#DC4C87
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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