#652BAF#652BAF

#652BAF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.194 H 297.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#652BAF
RGBrgb(101, 43, 175)
HSLhsl(266, 61%, 43%)
HSVhsv(266, 75%, 69%)
CMYKcmyk(42.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(33.11, 52.16, -60.07)
CIE-LCHlch(33.11, 79.55, 310.96°)
OKLaboklab(44.69% 0.0911 -0.1718)
OKLCHoklch(44.69% 0.194 297.9)
XYZxyz(13.9666, 7.5894, 41.2782)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BAF #75AF2B
analogous
#2B33AF #652BAF #A72BAF
triadic
#652BAF #AF652B #2BAF65
tetradic
#652BAF #AF2B33 #75AF2B #2BAFA7
square
#652BAF #AF2B33 #75AF2B #2BAFA7
split-complementary
#652BAF #AFA72B #33AF2B
monochromatic
#2C134D #491F7E #652BAF #8346D1 #A477DE

Accessibility & contrast

On white

8.34
#652BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#652BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BAF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BAF#FFFFFF#000000##FFFFFF
##652BAF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652baf;
/* rgb */ color: rgb(101, 43, 175);
/* oklch */ color: oklch(44.7% 0.194 297.9);
Tailwind
colors: {
  custom: {
    50: '#986ac8',
    500: '#652baf',
    950: '#000000',
  },
}
SCSS
$custom: #652baf;
$custom-light: #986ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#652baf",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 266.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.19449,
    "h": 297.9
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#652BAF
secondary
#A0C570
accent
#E4449E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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