#652497#652497

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

Color values

HEX#652497
RGBrgb(101, 36, 151)
HSLhsl(274, 61%, 37%)
HSVhsv(274, 76%, 59%)
CMYKcmyk(33.1%, 76.2%, 0%, 40.8%)
CIE-LABlab(30.07, 49.33, -50.53)
CIE-LCHlch(30.07, 70.61, 314.31°)
OKLaboklab(41.93% 0.1031 -0.1438)
OKLCHoklch(41.93% 0.177 305.6)
XYZxyz(11.5824, 6.2629, 29.8708)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652497 #569724
analogous
#2C2497 #652497 #972490
triadic
#652497 #976524 #249765
tetradic
#652497 #972C24 #569724 #249097
square
#652497 #972C24 #569724 #249097
split-complementary
#652497 #909724 #24972C
monochromatic
#230C34 #441866 #652497 #8630C8 #A35DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652497#FFFFFF#000000##FFFFFF
##6524971.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)
#00459A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#5C405C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652497;
/* rgb */ color: rgb(101, 36, 151);
/* oklch */ color: oklch(41.9% 0.177 305.6);
Tailwind
colors: {
  custom: {
    50: '#9666b6',
    500: '#652497',
    950: '#000000',
  },
}
SCSS
$custom: #652497;
$custom-light: #9666b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652497",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 273.913,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.17691,
    "h": 305.6
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#652497
secondary
#85BD5A
accent
#E54389
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652497

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

Preview Lab → · Contrast checker → · Palette generator →

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