#652287#652287

#652287 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.163 H 311.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#652287
RGBrgb(101, 34, 135)
HSLhsl(280, 60%, 33%)
HSVhsv(280, 75%, 53%)
CMYKcmyk(25.2%, 74.8%, 0%, 47.1%)
CIE-LABlab(28.54, 46.49, -43.12)
CIE-LCHlch(28.54, 63.41, 317.15°)
OKLaboklab(40.46% 0.1081 -0.122)
OKLCHoklch(40.46% 0.163 311.5)
XYZxyz(10.3112, 5.6603, 23.4663)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652287 #448722
analogous
#322287 #652287 #872276
triadic
#652287 #876522 #228765
tetradic
#652287 #873222 #448722 #227687
square
#652287 #873222 #448722 #227687
split-complementary
#652287 #768722 #228732
monochromatic
#1C0925 #401656 #652287 #8A2EB8 #A750D3

Accessibility & contrast

On white

9.85
#652287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#652287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652287
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652287#FFFFFF#000000##FFFFFF
##6522871.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#613952
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652287;
/* rgb */ color: rgb(101, 34, 135);
/* oklch */ color: oklch(40.5% 0.163 311.5);
Tailwind
colors: {
  custom: {
    50: '#9564ab',
    500: '#652287',
    950: '#000000',
  },
}
SCSS
$custom: #652287;
$custom-light: #9564ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652287",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 279.802,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.16294,
    "h": 311.5
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#652287
secondary
#71B74E
accent
#E3457A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652287

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

Preview Lab → · Contrast checker → · Palette generator →

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