#652189#652189

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

Color values

HEX#652189
RGBrgb(101, 33, 137)
HSLhsl(279, 61%, 33%)
HSVhsv(279, 76%, 54%)
CMYKcmyk(26.3%, 75.9%, 0%, 46.3%)
CIE-LABlab(28.54, 47.36, -44.36)
CIE-LCHlch(28.54, 64.89, 316.87°)
OKLaboklab(40.51% 0.1087 -0.1256)
OKLCHoklch(40.51% 0.166 310.9)
XYZxyz(10.4252, 5.6608, 24.2055)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652189 #458921
analogous
#312189 #652189 #892179
triadic
#652189 #896521 #218965
tetradic
#652189 #893121 #458921 #217989
square
#652189 #893121 #458921 #217989
split-complementary
#652189 #798921 #218931
monochromatic
#1C0926 #411558 #652189 #892DBA #A750D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652189#FFFFFF#000000##FFFFFF
##6521891.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)
#00408C
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#603953
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652189;
/* rgb */ color: rgb(101, 33, 137);
/* oklch */ color: oklch(40.5% 0.166 310.9);
Tailwind
colors: {
  custom: {
    50: '#9564ac',
    500: '#652189',
    950: '#000000',
  },
}
SCSS
$custom: #652189;
$custom-light: #9564ac;
$custom-dark: #000000;
JSON
{
  "hex": "#652189",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 279.231,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.16614,
    "h": 310.9
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#652189
secondary
#73B84E
accent
#E4447B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652189

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

Preview Lab → · Contrast checker → · Palette generator →

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