#652E8D#652E8D

#652E8D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.153 H 307.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#652E8D
RGBrgb(101, 46, 141)
HSLhsl(275, 51%, 37%)
HSVhsv(275, 67%, 55%)
CMYKcmyk(28.4%, 67.4%, 0%, 44.7%)
CIE-LABlab(30.98, 42.26, -42.90)
CIE-LCHlch(30.98, 60.22, 314.57°)
OKLaboklab(42.35% 0.0938 -0.1214)
OKLCHoklch(42.35% 0.153 307.7)
XYZxyz(11.1505, 6.6439, 25.8891)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E8D #568D2E
analogous
#362E8D #652E8D #8D2E86
triadic
#652E8D #8D652E #2E8D65
tetradic
#652E8D #8D362E #568D2E #2E868D
square
#652E8D #8D362E #568D2E #2E868D
split-complementary
#652E8D #868D2E #2E8D36
monochromatic
#231031 #441F5F #652E8D #863DBB #A368CE

Accessibility & contrast

On white

9.02
#652E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E8D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E8D#FFFFFF#000000##FFFFFF
##652E8D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#5F4259
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652e8d;
/* rgb */ color: rgb(101, 46, 141);
/* oklch */ color: oklch(42.3% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#946baf',
    500: '#652e8d',
    950: '#000000',
  },
}
SCSS
$custom: #652e8d;
$custom-light: #946baf;
$custom-dark: #000000;
JSON
{
  "hex": "#652e8d",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 274.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42346,
    "c": 0.15343,
    "h": 307.7
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#652E8D
secondary
#85B562
accent
#DA4E89
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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