#652399#652399

#652399 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.180 H 305.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#652399
RGBrgb(101, 35, 153)
HSLhsl(274, 63%, 37%)
HSVhsv(274, 77%, 60%)
CMYKcmyk(34%, 77.1%, 0%, 40%)
CIE-LABlab(30.08, 50.22, -51.73)
CIE-LCHlch(30.08, 72.10, 314.15°)
OKLaboklab(41.99% 0.1036 -0.1473)
OKLCHoklch(41.99% 0.18 305.1)
XYZxyz(11.7163, 6.2687, 30.7236)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652399 #579923
analogous
#2A2399 #652399 #992392
triadic
#652399 #996523 #239965
tetradic
#652399 #992A23 #579923 #239299
square
#652399 #992A23 #579923 #239299
split-complementary
#652399 #929923 #23992A
monochromatic
#230C35 #441867 #652399 #862ECB #A35DDA

Accessibility & contrast

On white

9.32
#652399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652399
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652399#FFFFFF#000000##FFFFFF
##6523991.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5B415D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652399;
/* rgb */ color: rgb(101, 35, 153);
/* oklch */ color: oklch(42.0% 0.180 305.1);
Tailwind
colors: {
  custom: {
    50: '#9665b8',
    500: '#652399',
    950: '#000000',
  },
}
SCSS
$custom: #652399;
$custom-light: #9665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#652399",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 273.559,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.18006,
    "h": 305.1
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#652399
secondary
#86BE59
accent
#E6428A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652399

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

Preview Lab → · Contrast checker → · Palette generator →

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