#652C8C#652C8C

#652C8C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.155 H 308.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#652C8C
RGBrgb(101, 44, 140)
HSLhsl(276, 52%, 36%)
HSVhsv(276, 69%, 55%)
CMYKcmyk(27.9%, 68.6%, 0%, 45.1%)
CIE-LABlab(30.55, 43.02, -42.98)
CIE-LCHlch(30.55, 60.81, 315.03°)
OKLaboklab(42.01% 0.0963 -0.1216)
OKLCHoklch(42.01% 0.155 308.4)
XYZxyz(11.0002, 6.4617, 25.4736)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C8C #538C2C
analogous
#352C8C #652C8C #8C2C83
triadic
#652C8C #8C652C #2C8C65
tetradic
#652C8C #8C352C #538C2C #2C838C
square
#652C8C #8C352C #538C2C #2C838C
split-complementary
#652C8C #838C2C #2C8C35
monochromatic
#220F2F #431D5D #652C8C #873BBB #A364CE

Accessibility & contrast

On white

9.16
#652C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#652C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C8C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C8C#FFFFFF#000000##FFFFFF
##652C8C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#19498A
Tritanopia (blue-blind)
#5F4058
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652c8c;
/* rgb */ color: rgb(101, 44, 140);
/* oklch */ color: oklch(42.0% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#9469ae',
    500: '#652c8c',
    950: '#000000',
  },
}
SCSS
$custom: #652c8c;
$custom-light: #9469ae;
$custom-dark: #000000;
JSON
{
  "hex": "#652c8c",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 275.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.15514,
    "h": 308.4
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#652C8C
secondary
#82B55F
accent
#DC4C86
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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