#652D90#652D90

#652D90 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.158 H 306.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#652D90
RGBrgb(101, 45, 144)
HSLhsl(274, 52%, 37%)
HSVhsv(274, 69%, 56%)
CMYKcmyk(29.9%, 68.7%, 0%, 43.5%)
CIE-LABlab(31.01, 43.49, -44.70)
CIE-LCHlch(31.01, 62.36, 314.22°)
OKLaboklab(42.44% 0.0947 -0.1267)
OKLCHoklch(42.44% 0.158 306.8)
XYZxyz(11.3382, 6.6572, 27.0678)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D90 #58902D
analogous
#332D90 #652D90 #902D8A
triadic
#652D90 #90652D #2D9065
tetradic
#652D90 #90332D #58902D #2D8A90
square
#652D90 #90332D #58902D #2D8A90
split-complementary
#652D90 #8A902D #2D9033
monochromatic
#241033 #441E61 #652D90 #863CBF #A368D0

Accessibility & contrast

On white

9.01
#652D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652D90
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D90#FFFFFF#000000##FFFFFF
##652D901.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#14498E
Tritanopia (blue-blind)
#5E435B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652d90;
/* rgb */ color: rgb(101, 45, 144);
/* oklch */ color: oklch(42.4% 0.158 306.8);
Tailwind
colors: {
  custom: {
    50: '#956ab1',
    500: '#652d90',
    950: '#000000',
  },
}
SCSS
$custom: #652d90;
$custom-light: #956ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#652d90",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 273.939,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.15817,
    "h": 306.8
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#652D90
secondary
#87B662
accent
#DC4C8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D90

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

Preview Lab → · Contrast checker → · Palette generator →

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