#652BB2#652BB2

#652BB2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.198 H 297.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#652BB2
RGBrgb(101, 43, 178)
HSLhsl(266, 61%, 43%)
HSVhsv(266, 76%, 70%)
CMYKcmyk(43.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(33.37, 52.92, -61.44)
CIE-LCHlch(33.37, 81.09, 310.74°)
OKLaboklab(44.95% 0.0903 -0.1759)
OKLCHoklch(44.95% 0.198 297.2)
XYZxyz(14.2645, 7.7085, 42.8472)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BB2 #78B22B
analogous
#2B34B2 #652BB2 #A82BB2
triadic
#652BB2 #B2652B #2BB265
tetradic
#652BB2 #B22B34 #78B22B #2BB2A8
square
#652BB2 #B22B34 #78B22B #2BB2A8
split-complementary
#652BB2 #B2A82B #34B22B
monochromatic
#2D134F #491F81 #652BB2 #8348D3 #A579DF

Accessibility & contrast

On white

8.26
#652BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#652BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BB2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BB2#FFFFFF#000000##FFFFFF
##652BB21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#514F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #652bb2;
/* rgb */ color: rgb(101, 43, 178);
/* oklch */ color: oklch(44.9% 0.198 297.2);
Tailwind
colors: {
  custom: {
    50: '#986bca',
    500: '#652bb2',
    950: '#000000',
  },
}
SCSS
$custom: #652bb2;
$custom-light: #986bca;
$custom-dark: #000000;
JSON
{
  "hex": "#652bb2",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 265.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.1977,
    "h": 297.2
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#652BB2
secondary
#A2C772
accent
#E4449F
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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