#652B94#652B94

#652B94 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.165 H 305.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#652B94
RGBrgb(101, 43, 148)
HSLhsl(273, 55%, 37%)
HSVhsv(273, 71%, 58%)
CMYKcmyk(31.8%, 70.9%, 0%, 42%)
CIE-LABlab(30.96, 45.44, -47.25)
CIE-LCHlch(30.96, 65.55, 313.88°)
OKLaboklab(42.49% 0.0965 -0.1341)
OKLCHoklch(42.49% 0.165 305.7)
XYZxyz(11.5748, 6.6327, 28.6817)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652B94 #5A942B
analogous
#312B94 #652B94 #942B8E
triadic
#652B94 #94652B #2B9465
tetradic
#652B94 #94312B #5A942B #2B8E94
square
#652B94 #94312B #5A942B #2B8E94
split-complementary
#652B94 #8E942B #2B9431
monochromatic
#240F35 #451D65 #652B94 #8539C3 #A267D3

Accessibility & contrast

On white

9.03
#652B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652B94
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652B94#FFFFFF#000000##FFFFFF
##652B941.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#044992
Tritanopia (blue-blind)
#5D435C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652b94;
/* rgb */ color: rgb(101, 43, 148);
/* oklch */ color: oklch(42.5% 0.165 305.7);
Tailwind
colors: {
  custom: {
    50: '#9569b4',
    500: '#652b94',
    950: '#000000',
  },
}
SCSS
$custom: #652b94;
$custom-light: #9569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#652b94",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 273.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.16524,
    "h": 305.7
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#652B94
secondary
#89B962
accent
#DE498C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652B94

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

Preview Lab → · Contrast checker → · Palette generator →

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