#652F91#652F91

#652F91 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.157 H 306.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#652F91
RGBrgb(101, 47, 145)
HSLhsl(273, 51%, 38%)
HSVhsv(273, 68%, 57%)
CMYKcmyk(30.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(31.45, 42.73, -44.61)
CIE-LCHlch(31.45, 61.77, 313.76°)
OKLaboklab(42.77% 0.0923 -0.1264)
OKLCHoklch(42.77% 0.157 306.1)
XYZxyz(11.4931, 6.8442, 27.4982)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F91 #5B912F
analogous
#342F91 #652F91 #912F8C
triadic
#652F91 #91652F #2F9165
tetradic
#652F91 #91342F #5B912F #2F8C91
square
#652F91 #91342F #5B912F #2F8C91
split-complementary
#652F91 #8C912F #2F9134
monochromatic
#251135 #452063 #652F91 #853EBF #A26BCF

Accessibility & contrast

On white

8.87
#652F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#652F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F91
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F91#FFFFFF#000000##FFFFFF
##652F911.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#154A8F
Tritanopia (blue-blind)
#5D445C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652f91;
/* rgb */ color: rgb(101, 47, 145);
/* oklch */ color: oklch(42.8% 0.157 306.1);
Tailwind
colors: {
  custom: {
    50: '#956bb2',
    500: '#652f91',
    950: '#000000',
  },
}
SCSS
$custom: #652f91;
$custom-light: #956bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#652f91",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 273.061,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.15651,
    "h": 306.1
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#652F91
secondary
#8AB665
accent
#DB4D8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F91

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

Preview Lab → · Contrast checker → · Palette generator →

#652F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva