#652C95#652C95

#652C95 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.165 H 305.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#652C95
RGBrgb(101, 44, 149)
HSLhsl(273, 54%, 38%)
HSVhsv(273, 70%, 58%)
CMYKcmyk(32.2%, 70.5%, 0%, 41.6%)
CIE-LABlab(31.20, 45.20, -47.46)
CIE-LCHlch(31.20, 65.54, 313.60°)
OKLaboklab(42.69% 0.0952 -0.1348)
OKLCHoklch(42.69% 0.165 305.2)
XYZxyz(11.6911, 6.7381, 29.1126)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C95 #5C952C
analogous
#302C95 #652C95 #952C91
triadic
#652C95 #95652C #2C9565
tetradic
#652C95 #95302C #5C952C #2C9195
square
#652C95 #95302C #5C952C #2C9195
split-complementary
#652C95 #91952C #2C9530
monochromatic
#251037 #451E66 #652C95 #853AC4 #A269D3

Accessibility & contrast

On white

8.95
#652C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C95
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C95#FFFFFF#000000##FFFFFF
##652C951.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#034A93
Tritanopia (blue-blind)
#5C445D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652c95;
/* rgb */ color: rgb(101, 44, 149);
/* oklch */ color: oklch(42.7% 0.165 305.2);
Tailwind
colors: {
  custom: {
    50: '#956ab5',
    500: '#652c95',
    950: '#000000',
  },
}
SCSS
$custom: #652c95;
$custom-light: #956ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#652c95",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 272.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.16503,
    "h": 305.2
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#652C95
secondary
#8BB964
accent
#DE4A8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652C95

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

Preview Lab → · Contrast checker → · Palette generator →

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