#652E95#652E95

#652E95 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.162 H 304.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#652E95
RGBrgb(101, 46, 149)
HSLhsl(272, 53%, 38%)
HSVhsv(272, 69%, 58%)
CMYKcmyk(32.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(31.56, 44.22, -46.89)
CIE-LCHlch(31.56, 64.45, 313.32°)
OKLaboklab(42.94% 0.093 -0.1331)
OKLCHoklch(42.94% 0.162 304.9)
XYZxyz(11.7674, 6.8907, 29.1380)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E95 #5E952E
analogous
#312E95 #652E95 #952E91
triadic
#652E95 #95652E #2E9565
tetradic
#652E95 #95312E #5E952E #2E9195
square
#652E95 #95312E #5E952E #2E9195
split-complementary
#652E95 #91952E #2E9531
monochromatic
#261137 #452066 #652E95 #853DC3 #A26CD2

Accessibility & contrast

On white

8.83
#652E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#652E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E95
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E95#FFFFFF#000000##FFFFFF
##652E951.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#094A93
Tritanopia (blue-blind)
#5C455E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652e95;
/* rgb */ color: rgb(101, 46, 149);
/* oklch */ color: oklch(42.9% 0.162 304.9);
Tailwind
colors: {
  custom: {
    50: '#956bb5',
    500: '#652e95',
    950: '#000000',
  },
}
SCSS
$custom: #652e95;
$custom-light: #956bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#652e95",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 272.039,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.16237,
    "h": 304.9
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#652E95
secondary
#8DB966
accent
#DC4C8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E95

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

Preview Lab → · Contrast checker → · Palette generator →

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