#652E8C#652E8C

#652E8C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 308.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#652E8C
RGBrgb(101, 46, 140)
HSLhsl(275, 51%, 36%)
HSVhsv(275, 67%, 55%)
CMYKcmyk(27.9%, 67.1%, 0%, 45.1%)
CIE-LABlab(30.91, 42.02, -42.39)
CIE-LCHlch(30.91, 59.69, 314.74°)
OKLaboklab(42.27% 0.0939 -0.1199)
OKLCHoklch(42.27% 0.152 308.1)
XYZxyz(11.0765, 6.6143, 25.4990)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E8C #558C2E
analogous
#362E8C #652E8C #8C2E84
triadic
#652E8C #8C652E #2E8C65
tetradic
#652E8C #8C362E #558C2E #2E848C
square
#652E8C #8C362E #558C2E #2E848C
split-complementary
#652E8C #848C2E #2E8C36
monochromatic
#231030 #441F5E #652E8C #863DBA #A367CD

Accessibility & contrast

On white

9.04
#652E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#652E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E8C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E8C#FFFFFF#000000##FFFFFF
##652E8C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#5F4259
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652e8c;
/* rgb */ color: rgb(101, 46, 140);
/* oklch */ color: oklch(42.3% 0.152 308.1);
Tailwind
colors: {
  custom: {
    50: '#946bae',
    500: '#652e8c',
    950: '#000000',
  },
}
SCSS
$custom: #652e8c;
$custom-light: #946bae;
$custom-dark: #000000;
JSON
{
  "hex": "#652e8c",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 275.106,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.15231,
    "h": 308.1
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#652E8C
secondary
#84B462
accent
#DA4E88
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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