#652C98#652C98

#652C98 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.168 H 304.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#652C98
RGBrgb(101, 44, 152)
HSLhsl(272, 55%, 38%)
HSVhsv(272, 71%, 60%)
CMYKcmyk(33.6%, 71.1%, 0%, 40.4%)
CIE-LABlab(31.43, 45.94, -48.93)
CIE-LCHlch(31.43, 67.11, 313.19°)
OKLaboklab(42.92% 0.0948 -0.1391)
OKLCHoklch(42.92% 0.168 304.3)
XYZxyz(11.9337, 6.8351, 30.3903)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C98 #5F982C
analogous
#2F2C98 #652C98 #982C95
triadic
#652C98 #98652C #2C9865
tetradic
#652C98 #982F2C #5F982C #2C9598
square
#652C98 #982F2C #5F982C #2C9598
split-complementary
#652C98 #95982C #2C982F
monochromatic
#261139 #451E69 #652C98 #843BC6 #A26AD4

Accessibility & contrast

On white

8.87
#652C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#652C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C98
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C98#FFFFFF#000000##FFFFFF
##652C981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#5B455F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652c98;
/* rgb */ color: rgb(101, 44, 152);
/* oklch */ color: oklch(42.9% 0.168 304.3);
Tailwind
colors: {
  custom: {
    50: '#956ab7',
    500: '#652c98',
    950: '#000000',
  },
}
SCSS
$custom: #652c98;
$custom-light: #956ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#652c98",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 271.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.16833,
    "h": 304.3
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#652C98
secondary
#8EBB65
accent
#DE4990
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652C98

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

Preview Lab → · Contrast checker → · Palette generator →

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