#652389#652389

#652389 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.164 H 310.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#652389
RGBrgb(101, 35, 137)
HSLhsl(279, 59%, 34%)
HSVhsv(279, 74%, 54%)
CMYKcmyk(26.3%, 74.5%, 0%, 46.3%)
CIE-LABlab(28.84, 46.51, -43.88)
CIE-LCHlch(28.84, 63.94, 316.67°)
OKLaboklab(40.72% 0.1067 -0.1242)
OKLCHoklch(40.72% 0.164 310.7)
XYZxyz(10.4823, 5.7752, 24.2246)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652389 #478923
analogous
#322389 #652389 #89237A
triadic
#652389 #896523 #238965
tetradic
#652389 #893223 #478923 #237A89
square
#652389 #893223 #478923 #237A89
split-complementary
#652389 #7A8923 #238932
monochromatic
#1D0A28 #411758 #652389 #892FBA #A653D3

Accessibility & contrast

On white

9.74
#652389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#652389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652389
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652389#FFFFFF#000000##FFFFFF
##6523891.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#603A54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #652389;
/* rgb */ color: rgb(101, 35, 137);
/* oklch */ color: oklch(40.7% 0.164 310.7);
Tailwind
colors: {
  custom: {
    50: '#9565ac',
    500: '#652389',
    950: '#000000',
  },
}
SCSS
$custom: #652389;
$custom-light: #9565ac;
$custom-dark: #000000;
JSON
{
  "hex": "#652389",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 278.824,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.16375,
    "h": 310.7
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#652389
secondary
#75B751
accent
#E2457D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652389

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

Preview Lab → · Contrast checker → · Palette generator →

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