#652CAF#652CAF

#652CAF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.193 H 297.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#652CAF
RGBrgb(101, 44, 175)
HSLhsl(266, 60%, 43%)
HSVhsv(266, 75%, 69%)
CMYKcmyk(42.3%, 74.9%, 0%, 31.4%)
CIE-LABlab(33.27, 51.70, -59.81)
CIE-LCHlch(33.27, 79.06, 310.84°)
OKLaboklab(44.8% 0.0902 -0.1711)
OKLCHoklch(44.8% 0.193 297.8)
XYZxyz(14.0034, 7.6630, 41.2904)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652CAF #76AF2C
analogous
#2C34AF #652CAF #A62CAF
triadic
#652CAF #AF652C #2CAF65
tetradic
#652CAF #AF2C34 #76AF2C #2CAFA6
square
#652CAF #AF2C34 #76AF2C #2CAFA6
split-complementary
#652CAF #AFA62C #34AF2C
monochromatic
#2D134D #49207E #652CAF #8347D1 #A478DD

Accessibility & contrast

On white

8.29
#652CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#652CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652CAF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652CAF#FFFFFF#000000##FFFFFF
##652CAF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#524E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #652caf;
/* rgb */ color: rgb(101, 44, 175);
/* oklch */ color: oklch(44.8% 0.193 297.8);
Tailwind
colors: {
  custom: {
    50: '#986bc8',
    500: '#652caf',
    950: '#000000',
  },
}
SCSS
$custom: #652caf;
$custom-light: #986bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#652caf",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 266.107,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.448,
    "c": 0.19341,
    "h": 297.8
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#652CAF
secondary
#A1C572
accent
#E3459E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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