#652799#652799

#652799 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.176 H 304.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#652799
RGBrgb(101, 39, 153)
HSLhsl(273, 59%, 38%)
HSVhsv(273, 75%, 60%)
CMYKcmyk(34%, 74.5%, 0%, 40%)
CIE-LABlab(30.68, 48.50, -50.75)
CIE-LCHlch(30.68, 70.20, 313.70°)
OKLaboklab(42.41% 0.0998 -0.1444)
OKLCHoklch(42.41% 0.176 304.6)
XYZxyz(11.8408, 6.5177, 30.7651)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652799 #5B9927
analogous
#2C2799 #652799 #992794
triadic
#652799 #996527 #279965
tetradic
#652799 #992C27 #5B9927 #279499
square
#652799 #992C27 #5B9927 #279499
split-complementary
#652799 #949927 #27992C
monochromatic
#250E37 #451B68 #652799 #8533CA #A263D7

Accessibility & contrast

On white

9.12
#652799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652799
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652799#FFFFFF#000000##FFFFFF
##6527991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652799;
/* rgb */ color: rgb(101, 39, 153);
/* oklch */ color: oklch(42.4% 0.176 304.6);
Tailwind
colors: {
  custom: {
    50: '#9667b8',
    500: '#652799',
    950: '#000000',
  },
}
SCSS
$custom: #652799;
$custom-light: #9667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652799",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 272.632,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42414,
    "c": 0.17555,
    "h": 304.6
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#652799
secondary
#8ABD5F
accent
#E3458D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652799

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

Preview Lab → · Contrast checker → · Palette generator →

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