#652F7C#652F7C

#652F7C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.3% C 0.133 H 314.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#652F7C
RGBrgb(101, 47, 124)
HSLhsl(282, 45%, 34%)
HSVhsv(282, 62%, 49%)
CMYKcmyk(18.5%, 62.1%, 0%, 51.4%)
CIE-LABlab(30.05, 37.73, -33.81)
CIE-LCHlch(30.05, 50.66, 318.13°)
OKLaboklab(41.31% 0.0931 -0.0948)
OKLCHoklch(41.31% 0.133 314.5)
XYZxyz(10.0208, 6.2553, 19.7444)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F7C #467C2F
analogous
#3E2F7C #652F7C #7C2F6C
triadic
#652F7C #7C652F #2F7C65
tetradic
#652F7C #7C3E2F #467C2F #2F6C7C
square
#652F7C #7C3E2F #467C2F #2F6C7C
split-complementary
#652F7C #6C7C2F #2F7C3E
monochromatic
#1D0D23 #411E50 #652F7C #8940A8 #A662C3

Accessibility & contrast

On white

9.33
#652F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F7C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F7C#FFFFFF#000000##FFFFFF
##652F7C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#633D51
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652f7c;
/* rgb */ color: rgb(101, 47, 124);
/* oklch */ color: oklch(41.3% 0.133 314.5);
Tailwind
colors: {
  custom: {
    50: '#936ba2',
    500: '#652f7c',
    950: '#000000',
  },
}
SCSS
$custom: #652f7c;
$custom-light: #936ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#652f7c",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 282.078,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41309,
    "c": 0.13287,
    "h": 314.5
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#652F7C
secondary
#74AA5C
accent
#D5537A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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