#652F86#652F86

#652F86 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.144 H 310.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#652F86
RGBrgb(101, 47, 134)
HSLhsl(277, 48%, 35%)
HSVhsv(277, 65%, 53%)
CMYKcmyk(24.6%, 64.9%, 0%, 47.5%)
CIE-LABlab(30.69, 40.06, -39.03)
CIE-LCHlch(30.69, 55.93, 315.75°)
OKLaboklab(41.98% 0.093 -0.11)
OKLCHoklch(41.98% 0.144 310.2)
XYZxyz(10.6856, 6.5212, 23.2454)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F86 #50862F
analogous
#392F86 #652F86 #862F7B
triadic
#652F86 #86652F #2F8665
tetradic
#652F86 #86392F #50862F #2F7B86
square
#652F86 #86392F #50862F #2F7B86
split-complementary
#652F86 #7B862F #2F8639
monochromatic
#210F2B #431F59 #652F86 #873FB3 #A466C9

Accessibility & contrast

On white

9.11
#652F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F86
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F86#FFFFFF#000000##FFFFFF
##652F861.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#614056
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652f86;
/* rgb */ color: rgb(101, 47, 134);
/* oklch */ color: oklch(42.0% 0.144 310.2);
Tailwind
colors: {
  custom: {
    50: '#946baa',
    500: '#652f86',
    950: '#000000',
  },
}
SCSS
$custom: #652f86;
$custom-light: #946baa;
$custom-dark: #000000;
JSON
{
  "hex": "#652f86",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 277.241,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.1441,
    "h": 310.2
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#652F86
secondary
#7FB060
accent
#D85084
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F86

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

Preview Lab → · Contrast checker → · Palette generator →

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