#652F71#652F71

#652F71 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 320.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#652F71
RGBrgb(101, 47, 113)
HSLhsl(289, 41%, 31%)
HSVhsv(289, 58%, 44%)
CMYKcmyk(10.6%, 58.4%, 0%, 55.7%)
CIE-LABlab(29.39, 35.26, -27.89)
CIE-LCHlch(29.39, 44.96, 321.66°)
OKLaboklab(40.62% 0.0925 -0.0775)
OKLCHoklch(40.62% 0.121 320.1)
XYZxyz(9.3636, 5.9924, 16.2830)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F71 #3B712F
analogous
#442F71 #652F71 #712F5C
triadic
#652F71 #71652F #2F7165
tetradic
#652F71 #71442F #3B712F #2F5C71
square
#652F71 #71442F #3B712F #2F5C71
split-complementary
#652F71 #5C712F #2F7144
monochromatic
#180B1B #3E1D46 #652F71 #8C419C #AB5EBC

Accessibility & contrast

On white

9.55
#652F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#652F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F71
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F71#FFFFFF#000000##FFFFFF
##652F711.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#66394B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652f71;
/* rgb */ color: rgb(101, 47, 113);
/* oklch */ color: oklch(40.6% 0.121 320.1);
Tailwind
colors: {
  custom: {
    50: '#936a9a',
    500: '#652f71',
    950: '#000000',
  },
}
SCSS
$custom: #652f71;
$custom-light: #936a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#652f71",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 289.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.12073,
    "h": 320.1
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#652F71
secondary
#67A25A
accent
#D1576D
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #652F71

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

Preview Lab → · Contrast checker → · Palette generator →

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