#652E8F#652E8F

#652E8F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.156 H 307.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#652E8F
RGBrgb(101, 46, 143)
HSLhsl(274, 51%, 37%)
HSVhsv(274, 68%, 56%)
CMYKcmyk(29.4%, 67.8%, 0%, 43.9%)
CIE-LABlab(31.12, 42.74, -43.90)
CIE-LCHlch(31.12, 61.28, 314.23°)
OKLaboklab(42.49% 0.0937 -0.1243)
OKLCHoklch(42.49% 0.156 307)
XYZxyz(11.3007, 6.7040, 26.6799)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E8F #588F2E
analogous
#352E8F #652E8F #8F2E89
triadic
#652E8F #8F652E #2E8F65
tetradic
#652E8F #8F352E #588F2E #2E898F
square
#652E8F #8F352E #588F2E #2E898F
split-complementary
#652E8F #898F2E #2E8F35
monochromatic
#241032 #441F61 #652E8F #863DBD #A369CF

Accessibility & contrast

On white

8.97
#652E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#652E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E8F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E8F#FFFFFF#000000##FFFFFF
##652E8F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#5E435A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652e8f;
/* rgb */ color: rgb(101, 46, 143);
/* oklch */ color: oklch(42.5% 0.156 307.0);
Tailwind
colors: {
  custom: {
    50: '#956bb0',
    500: '#652e8f',
    950: '#000000',
  },
}
SCSS
$custom: #652e8f;
$custom-light: #956bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#652e8f",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 274.021,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.15566,
    "h": 307
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#652E8F
secondary
#87B663
accent
#DB4D8A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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