#652686#652686

#652686 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.157 H 311.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#652686
RGBrgb(101, 38, 134)
HSLhsl(279, 56%, 34%)
HSVhsv(279, 72%, 53%)
CMYKcmyk(24.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(29.09, 44.49, -41.60)
CIE-LCHlch(29.09, 60.91, 316.92°)
OKLaboklab(40.83% 0.1039 -0.1175)
OKLCHoklch(40.83% 0.157 311.5)
XYZxyz(10.3622, 5.8744, 23.1376)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652686 #478626
analogous
#352686 #652686 #862677
triadic
#652686 #866526 #268665
tetradic
#652686 #863526 #478626 #267786
square
#652686 #863526 #478626 #267786
split-complementary
#652686 #778626 #268635
monochromatic
#1D0B27 #411856 #652686 #8934B6 #A657CF

Accessibility & contrast

On white

9.66
#652686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#652686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652686
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652686#FFFFFF#000000##FFFFFF
##6526861.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#613B53
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #652686;
/* rgb */ color: rgb(101, 38, 134);
/* oklch */ color: oklch(40.8% 0.157 311.5);
Tailwind
colors: {
  custom: {
    50: '#9466aa',
    500: '#652686',
    950: '#000000',
  },
}
SCSS
$custom: #652686;
$custom-light: #9466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#652686",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 279.375,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.15685,
    "h": 311.5
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#652686
secondary
#75B454
accent
#DF497C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652686

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

Preview Lab → · Contrast checker → · Palette generator →

#652686 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva