#652F7B#652F7B

#652F7B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.132 H 315.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#652F7B
RGBrgb(101, 47, 123)
HSLhsl(283, 45%, 33%)
HSVhsv(283, 62%, 48%)
CMYKcmyk(17.9%, 61.8%, 0%, 51.8%)
CIE-LABlab(29.99, 37.50, -33.28)
CIE-LCHlch(29.99, 50.14, 318.41°)
OKLaboklab(41.24% 0.0931 -0.0932)
OKLCHoklch(41.24% 0.132 315)
XYZxyz(9.9579, 6.2301, 19.4130)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F7B #457B2F
analogous
#3F2F7B #652F7B #7B2F6B
triadic
#652F7B #7B652F #2F7B65
tetradic
#652F7B #7B3F2F #457B2F #2F6B7B
square
#652F7B #7B3F2F #457B2F #2F6B7B
split-complementary
#652F7B #6B7B2F #2F7B3F
monochromatic
#1C0D22 #411E4F #652F7B #8940A7 #A762C3

Accessibility & contrast

On white

9.35
#652F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652F7B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F7B#FFFFFF#000000##FFFFFF
##652F7B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#633C50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652f7b;
/* rgb */ color: rgb(101, 47, 123);
/* oklch */ color: oklch(41.2% 0.132 315.0);
Tailwind
colors: {
  custom: {
    50: '#936ba1',
    500: '#652f7b',
    950: '#000000',
  },
}
SCSS
$custom: #652f7b;
$custom-light: #936ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#652f7b",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 282.632,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.13176,
    "h": 315
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#652F7B
secondary
#73AA5C
accent
#D45379
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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