#652698#652698

#652698 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.176 H 305.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#652698
RGBrgb(101, 38, 152)
HSLhsl(273, 60%, 37%)
HSVhsv(273, 75%, 60%)
CMYKcmyk(33.6%, 75%, 0%, 40.4%)
CIE-LABlab(30.45, 48.70, -50.52)
CIE-LCHlch(30.45, 70.17, 313.95°)
OKLaboklab(42.22% 0.101 -0.1437)
OKLCHoklch(42.22% 0.176 305.1)
XYZxyz(11.7262, 6.4200, 30.3211)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652698 #599826
analogous
#2C2698 #652698 #982692
triadic
#652698 #986526 #269865
tetradic
#652698 #982C26 #599826 #269298
square
#652698 #982C26 #599826 #269298
split-complementary
#652698 #929826 #26982C
monochromatic
#240E36 #441A67 #652698 #8632C9 #A261D7

Accessibility & contrast

On white

9.19
#652698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652698
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652698#FFFFFF#000000##FFFFFF
##6526981.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#5B425D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652698;
/* rgb */ color: rgb(101, 38, 152);
/* oklch */ color: oklch(42.2% 0.176 305.1);
Tailwind
colors: {
  custom: {
    50: '#9667b7',
    500: '#652698',
    950: '#000000',
  },
}
SCSS
$custom: #652698;
$custom-light: #9667b7;
$custom-dark: #000000;
JSON
{
  "hex": "#652698",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 273.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42224,
    "c": 0.17565,
    "h": 305.1
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#652698
secondary
#88BD5D
accent
#E3458C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652698

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

Preview Lab → · Contrast checker → · Palette generator →

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