#652B98#652B98

#652B98 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.170 H 304.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#652B98
RGBrgb(101, 43, 152)
HSLhsl(272, 56%, 38%)
HSVhsv(272, 72%, 60%)
CMYKcmyk(33.6%, 71.7%, 0%, 40.4%)
CIE-LABlab(31.26, 46.42, -49.21)
CIE-LCHlch(31.26, 67.64, 313.33°)
OKLaboklab(42.8% 0.0959 -0.1399)
OKLCHoklch(42.8% 0.17 304.4)
XYZxyz(11.8969, 6.7615, 30.3780)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B98 #5E982B
analogous
#2F2B98 #652B98 #982B94
triadic
#652B98 #98652B #2B9865
tetradic
#652B98 #982F2B #5E982B #2B9498
square
#652B98 #982F2B #5E982B #2B9498
split-complementary
#652B98 #94982B #2B982F
monochromatic
#261039 #451E68 #652B98 #8539C7 #A269D5

Accessibility & contrast

On white

8.93
#652B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652B98
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B98#FFFFFF#000000##FFFFFF
##652B981.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652b98;
/* rgb */ color: rgb(101, 43, 152);
/* oklch */ color: oklch(42.8% 0.170 304.4);
Tailwind
colors: {
  custom: {
    50: '#9569b7',
    500: '#652b98',
    950: '#000000',
  },
}
SCSS
$custom: #652b98;
$custom-light: #9569b7;
$custom-dark: #000000;
JSON
{
  "hex": "#652b98",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 271.927,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.1696,
    "h": 304.4
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#652B98
secondary
#8DBB64
accent
#DF498F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B98

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

Preview Lab → · Contrast checker → · Palette generator →

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