#652DAF#652DAF

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

Color values

HEX#652DAF
RGBrgb(101, 45, 175)
HSLhsl(266, 59%, 43%)
HSVhsv(266, 74%, 69%)
CMYKcmyk(42.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(33.43, 51.25, -59.55)
CIE-LCHlch(33.43, 78.57, 310.71°)
OKLaboklab(44.91% 0.0893 -0.1703)
OKLCHoklch(44.91% 0.192 297.7)
XYZxyz(14.0411, 7.7384, 41.3030)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DAF #77AF2D
analogous
#2D36AF #652DAF #A62DAF
triadic
#652DAF #AF652D #2DAF65
tetradic
#652DAF #AF2D36 #77AF2D #2DAFA6
square
#652DAF #AF2D36 #77AF2D #2DAFA6
split-complementary
#652DAF #AFA62D #36AF2D
monochromatic
#2D144E #49207E #652DAF #8349D0 #A47ADD

Accessibility & contrast

On white

8.24
#652DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#652DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DAF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DAF#FFFFFF#000000##FFFFFF
##652DAF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652daf;
/* rgb */ color: rgb(101, 45, 175);
/* oklch */ color: oklch(44.9% 0.192 297.7);
Tailwind
colors: {
  custom: {
    50: '#986bc8',
    500: '#652daf',
    950: '#000000',
  },
}
SCSS
$custom: #652daf;
$custom-light: #986bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#652daf",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 265.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.19231,
    "h": 297.7
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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