#652BA6#652BA6

#652BA6 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.185 H 300.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#652BA6
RGBrgb(101, 43, 166)
HSLhsl(268, 59%, 41%)
HSVhsv(268, 74%, 65%)
CMYKcmyk(39.2%, 74.1%, 0%, 34.9%)
CIE-LABlab(32.36, 49.89, -55.90)
CIE-LCHlch(32.36, 74.92, 311.75°)
OKLaboklab(43.93% 0.0932 -0.1596)
OKLCHoklch(43.93% 0.185 300.3)
XYZxyz(13.1119, 7.2475, 36.7771)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BA6 #6CA62B
analogous
#2B2EA6 #652BA6 #A22BA6
triadic
#652BA6 #A6652B #2BA665
tetradic
#652BA6 #A62B2E #6CA62B #2BA6A2
square
#652BA6 #A62B2E #6CA62B #2BA6A2
split-complementary
#652BA6 #A6A22B #2EA62B
monochromatic
#2A1245 #471E75 #652BA6 #8341CE #A371DA

Accessibility & contrast

On white

8.57
#652BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#652BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BA6
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BA6#FFFFFF#000000##FFFFFF
##652BA61.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#564A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652ba6;
/* rgb */ color: rgb(101, 43, 166);
/* oklch */ color: oklch(43.9% 0.185 300.3);
Tailwind
colors: {
  custom: {
    50: '#976ac1',
    500: '#652ba6',
    950: '#000000',
  },
}
SCSS
$custom: #652ba6;
$custom-light: #976ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#652ba6",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 268.293,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43928,
    "c": 0.18479,
    "h": 300.3
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#652BA6
secondary
#99C16B
accent
#E24698
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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