#652A95#652A95

#652A95 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.168 H 305.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#652A95
RGBrgb(101, 42, 149)
HSLhsl(273, 56%, 37%)
HSVhsv(273, 72%, 58%)
CMYKcmyk(32.2%, 71.8%, 0%, 41.6%)
CIE-LABlab(30.86, 46.16, -48.02)
CIE-LCHlch(30.86, 66.60, 313.87°)
OKLaboklab(42.44% 0.0974 -0.1364)
OKLCHoklch(42.44% 0.168 305.5)
XYZxyz(11.6184, 6.5926, 29.0884)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A95 #5A952A
analogous
#2F2A95 #652A95 #952A90
triadic
#652A95 #95652A #2A9565
tetradic
#652A95 #952F2A #5A952A #2A9095
square
#652A95 #952F2A #5A952A #2A9095
split-complementary
#652A95 #90952A #2A952F
monochromatic
#240F36 #451D65 #652A95 #8537C5 #A266D4

Accessibility & contrast

On white

9.06
#652A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652A95
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A95#FFFFFF#000000##FFFFFF
##652A951.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#5C435C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652a95;
/* rgb */ color: rgb(101, 42, 149);
/* oklch */ color: oklch(42.4% 0.168 305.5);
Tailwind
colors: {
  custom: {
    50: '#9569b5',
    500: '#652a95',
    950: '#000000',
  },
}
SCSS
$custom: #652a95;
$custom-light: #9569b5;
$custom-dark: #000000;
JSON
{
  "hex": "#652a95",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 273.084,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.16761,
    "h": 305.5
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#652A95
secondary
#89BA61
accent
#DF488C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652A95

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

Preview Lab → · Contrast checker → · Palette generator →

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