#652F8E#652F8E

#652F8E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.153 H 307.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#652F8E
RGBrgb(101, 47, 142)
HSLhsl(274, 50%, 37%)
HSVhsv(274, 67%, 56%)
CMYKcmyk(28.9%, 66.9%, 0%, 44.3%)
CIE-LABlab(31.24, 41.99, -43.10)
CIE-LCHlch(31.24, 60.18, 314.25°)
OKLaboklab(42.55% 0.0925 -0.122)
OKLCHoklch(42.55% 0.153 307.2)
XYZxyz(11.2648, 6.7529, 26.2959)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F8E #588E2F
analogous
#352F8E #652F8E #8E2F88
triadic
#652F8E #8E652F #2F8E65
tetradic
#652F8E #8E352F #588E2F #2F888E
square
#652F8E #8E352F #588E2F #2F888E
split-complementary
#652F8E #888E2F #2F8E35
monochromatic
#241132 #442060 #652F8E #863EBC #A36ACE

Accessibility & contrast

On white

8.93
#652F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F8E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F8E#FFFFFF#000000##FFFFFF
##652F8E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#5E435A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f8e;
/* rgb */ color: rgb(101, 47, 142);
/* oklch */ color: oklch(42.6% 0.153 307.2);
Tailwind
colors: {
  custom: {
    50: '#946bb0',
    500: '#652f8e',
    950: '#000000',
  },
}
SCSS
$custom: #652f8e;
$custom-light: #946bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#652f8e",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 274.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.15313,
    "h": 307.2
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#652F8E
secondary
#87B564
accent
#DA4E8A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #652F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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