#652495#652495

#652495 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.175 H 306.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#652495
RGBrgb(101, 36, 149)
HSLhsl(275, 61%, 36%)
HSVhsv(275, 76%, 58%)
CMYKcmyk(32.2%, 75.8%, 0%, 41.6%)
CIE-LABlab(29.91, 48.86, -49.56)
CIE-LCHlch(29.91, 69.59, 314.59°)
OKLaboklab(41.77% 0.1035 -0.1409)
OKLCHoklch(41.77% 0.175 306.3)
XYZxyz(11.4213, 6.1985, 29.0227)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652495 #549524
analogous
#2D2495 #652495 #95248D
triadic
#652495 #956524 #249565
tetradic
#652495 #952D24 #549524 #248D95
square
#652495 #952D24 #549524 #248D95
split-complementary
#652495 #8D9524 #24952D
monochromatic
#220C32 #441864 #652495 #8630C6 #A35CD8

Accessibility & contrast

On white

9.38
#652495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#652495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652495
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652495#FFFFFF#000000##FFFFFF
##6524951.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#5D405B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #652495;
/* rgb */ color: rgb(101, 36, 149);
/* oklch */ color: oklch(41.8% 0.175 306.3);
Tailwind
colors: {
  custom: {
    50: '#9666b5',
    500: '#652495',
    950: '#000000',
  },
}
SCSS
$custom: #652495;
$custom-light: #9666b5;
$custom-dark: #000000;
JSON
{
  "hex": "#652495",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 274.513,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.17485,
    "h": 306.3
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#652495
secondary
#83BC59
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652495

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

Preview Lab → · Contrast checker → · Palette generator →

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