#652697#652697

#652697 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.175 H 305.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#652697
RGBrgb(101, 38, 151)
HSLhsl(273, 60%, 37%)
HSVhsv(273, 75%, 59%)
CMYKcmyk(33.1%, 74.8%, 0%, 40.8%)
CIE-LABlab(30.37, 48.46, -50.04)
CIE-LCHlch(30.37, 69.66, 314.08°)
OKLaboklab(42.14% 0.1012 -0.1423)
OKLCHoklch(42.14% 0.175 305.4)
XYZxyz(11.6446, 6.3874, 29.8916)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652697 #589726
analogous
#2C2697 #652697 #972691
triadic
#652697 #976526 #269765
tetradic
#652697 #972C26 #589726 #269197
square
#652697 #972C26 #589726 #269197
split-complementary
#652697 #919726 #26972C
monochromatic
#240D35 #441A66 #652697 #8632C8 #A360D7

Accessibility & contrast

On white

9.22
#652697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652697
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652697#FFFFFF#000000##FFFFFF
##6526971.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#5C415C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652697;
/* rgb */ color: rgb(101, 38, 151);
/* oklch */ color: oklch(42.1% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#9667b6',
    500: '#652697',
    950: '#000000',
  },
}
SCSS
$custom: #652697;
$custom-light: #9667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652697",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 273.451,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.17461,
    "h": 305.4
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#652697
secondary
#87BC5C
accent
#E3458B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652697

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

Preview Lab → · Contrast checker → · Palette generator →

#652697 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva