#652796#652796

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

Color values

HEX#652796
RGBrgb(101, 39, 150)
HSLhsl(274, 59%, 37%)
HSVhsv(274, 74%, 59%)
CMYKcmyk(32.7%, 74%, 0%, 41.2%)
CIE-LABlab(30.45, 47.78, -49.30)
CIE-LCHlch(30.45, 68.65, 314.10°)
OKLaboklab(42.18% 0.1004 -0.1401)
OKLCHoklch(42.18% 0.172 305.6)
XYZxyz(11.5961, 6.4198, 29.4765)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652796 #589627
analogous
#2E2796 #652796 #96278F
triadic
#652796 #966527 #279665
tetradic
#652796 #962E27 #589627 #278F96
square
#652796 #962E27 #589627 #278F96
split-complementary
#652796 #8F9627 #27962E
monochromatic
#240E35 #441A65 #652796 #8634C7 #A361D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652796#FFFFFF#000000##FFFFFF
##6527961.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)
#004699
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#5C425C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652796;
/* rgb */ color: rgb(101, 39, 150);
/* oklch */ color: oklch(42.2% 0.172 305.6);
Tailwind
colors: {
  custom: {
    50: '#9667b6',
    500: '#652796',
    950: '#000000',
  },
}
SCSS
$custom: #652796;
$custom-light: #9667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652796",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 273.514,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.17238,
    "h": 305.6
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#652796
secondary
#87BC5D
accent
#E2468B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652796

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

Preview Lab → · Contrast checker → · Palette generator →

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