#652896#652896

#652896 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.171 H 305.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#652896
RGBrgb(101, 40, 150)
HSLhsl(273, 58%, 37%)
HSVhsv(273, 73%, 59%)
CMYKcmyk(32.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(30.61, 47.33, -49.04)
CIE-LCHlch(30.61, 68.15, 313.98°)
OKLaboklab(42.29% 0.0993 -0.1394)
OKLCHoklch(42.29% 0.171 305.5)
XYZxyz(11.6294, 6.4864, 29.4876)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652896 #599628
analogous
#2E2896 #652896 #962890
triadic
#652896 #966528 #289665
tetradic
#652896 #962E28 #599628 #289096
square
#652896 #962E28 #599628 #289096
split-complementary
#652896 #909628 #28962E
monochromatic
#240E35 #441B66 #652896 #8635C6 #A263D5

Accessibility & contrast

On white

9.14
#652896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#652896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652896
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652896#FFFFFF#000000##FFFFFF
##6528961.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.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: #652896;
/* rgb */ color: rgb(101, 40, 150);
/* oklch */ color: oklch(42.3% 0.171 305.5);
Tailwind
colors: {
  custom: {
    50: '#9568b6',
    500: '#652896',
    950: '#000000',
  },
}
SCSS
$custom: #652896;
$custom-light: #9568b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652896",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 273.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.17117,
    "h": 305.5
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#652896
secondary
#88BB5F
accent
#E1478B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652896

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

Preview Lab → · Contrast checker → · Palette generator →

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