#652899#652899

#652899 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.174 H 304.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#652899
RGBrgb(101, 40, 153)
HSLhsl(272, 59%, 38%)
HSVhsv(272, 74%, 60%)
CMYKcmyk(34%, 73.9%, 0%, 40%)
CIE-LABlab(30.84, 48.05, -50.49)
CIE-LCHlch(30.84, 69.70, 313.58°)
OKLaboklab(42.53% 0.0988 -0.1437)
OKLCHoklch(42.53% 0.174 304.5)
XYZxyz(11.8741, 6.5842, 30.7761)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652899 #5C9928
analogous
#2C2899 #652899 #992894
triadic
#652899 #996528 #289965
tetradic
#652899 #992C28 #5C9928 #289499
square
#652899 #992C28 #5C9928 #289499
split-complementary
#652899 #949928 #28992C
monochromatic
#250F38 #451B68 #652899 #8535CA #A265D7

Accessibility & contrast

On white

9.06
#652899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#652899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652899
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652899#FFFFFF#000000##FFFFFF
##6528991.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#5B435E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652899;
/* rgb */ color: rgb(101, 40, 153);
/* oklch */ color: oklch(42.5% 0.174 304.5);
Tailwind
colors: {
  custom: {
    50: '#9668b8',
    500: '#652899',
    950: '#000000',
  },
}
SCSS
$custom: #652899;
$custom-light: #9668b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652899",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 272.389,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42526,
    "c": 0.17436,
    "h": 304.5
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#652899
secondary
#8BBD60
accent
#E2468E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652899

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

Preview Lab → · Contrast checker → · Palette generator →

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