#652DB0#652DB0

#652DB0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.193 H 297.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#652DB0
RGBrgb(101, 45, 176)
HSLhsl(266, 59%, 43%)
HSVhsv(266, 74%, 69%)
CMYKcmyk(42.6%, 74.4%, 0%, 31%)
CIE-LABlab(33.52, 51.50, -60.01)
CIE-LCHlch(33.52, 79.08, 310.64°)
OKLaboklab(45% 0.0891 -0.1717)
OKLCHoklch(45% 0.193 297.4)
XYZxyz(14.1396, 7.7778, 41.8222)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB0 #78B02D
analogous
#2D36B0 #652DB0 #A62DB0
triadic
#652DB0 #B0652D #2DB065
tetradic
#652DB0 #B02D36 #78B02D #2DB0A6
square
#652DB0 #B02D36 #78B02D #2DB0A6
split-complementary
#652DB0 #B0A62D #36B02D
monochromatic
#2D144F #49217F #652DB0 #834AD1 #A57ADD

Accessibility & contrast

On white

8.22
#652DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#652DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB0#FFFFFF#000000##FFFFFF
##652DB01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#524F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652db0;
/* rgb */ color: rgb(101, 45, 176);
/* oklch */ color: oklch(45.0% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#986cc9',
    500: '#652db0',
    950: '#000000',
  },
}
SCSS
$custom: #652db0;
$custom-light: #986cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#652db0",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 265.649,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44998,
    "c": 0.1934,
    "h": 297.4
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#652DB0
secondary
#A2C573
accent
#E2459F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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