#652997#652997

#652997 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.171 H 305.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#652997
RGBrgb(101, 41, 151)
HSLhsl(273, 57%, 38%)
HSVhsv(273, 73%, 59%)
CMYKcmyk(33.1%, 72.8%, 0%, 40.8%)
CIE-LABlab(30.85, 47.11, -49.26)
CIE-LCHlch(30.85, 68.16, 313.72°)
OKLaboklab(42.48% 0.0981 -0.1401)
OKLCHoklch(42.48% 0.171 305)
XYZxyz(11.7444, 6.5870, 29.9249)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652997 #5B9729
analogous
#2E2997 #652997 #972992
triadic
#652997 #976529 #299765
tetradic
#652997 #972E29 #5B9729 #299297
square
#652997 #972E29 #5B9729 #299297
split-complementary
#652997 #929729 #29972E
monochromatic
#250F37 #451C67 #652997 #8536C7 #A265D5

Accessibility & contrast

On white

9.06
#652997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#652997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652997
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652997#FFFFFF#000000##FFFFFF
##6529971.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#5C435D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652997;
/* rgb */ color: rgb(101, 41, 151);
/* oklch */ color: oklch(42.5% 0.171 305.0);
Tailwind
colors: {
  custom: {
    50: '#9568b6',
    500: '#652997',
    950: '#000000',
  },
}
SCSS
$custom: #652997;
$custom-light: #9568b6;
$custom-dark: #000000;
JSON
{
  "hex": "#652997",
  "rgb": {
    "r": 101,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 272.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.17102,
    "h": 305
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#652997
secondary
#8ABB61
accent
#E1478D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652997

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

Preview Lab → · Contrast checker → · Palette generator →

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