#652E91#652E91

#652E91 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.158 H 306.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#652E91
RGBrgb(101, 46, 145)
HSLhsl(273, 52%, 37%)
HSVhsv(273, 68%, 57%)
CMYKcmyk(30.3%, 68.3%, 0%, 43.1%)
CIE-LABlab(31.27, 43.23, -44.91)
CIE-LCHlch(31.27, 62.33, 313.91°)
OKLaboklab(42.64% 0.0935 -0.1273)
OKLCHoklch(42.64% 0.158 306.3)
XYZxyz(11.4536, 6.7651, 27.4850)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652E91 #5A912E
analogous
#332E91 #652E91 #912E8C
triadic
#652E91 #91652E #2E9165
tetradic
#652E91 #91332E #5A912E #2E8C91
square
#652E91 #91332E #5A912E #2E8C91
split-complementary
#652E91 #8C912E #2E9133
monochromatic
#241134 #451F63 #652E91 #853DBF #A26AD0

Accessibility & contrast

On white

8.92
#652E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#652E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652E91
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652E91#FFFFFF#000000##FFFFFF
##652E911.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652e91;
/* rgb */ color: rgb(101, 46, 145);
/* oklch */ color: oklch(42.6% 0.158 306.3);
Tailwind
colors: {
  custom: {
    50: '#956bb2',
    500: '#652e91',
    950: '#000000',
  },
}
SCSS
$custom: #652e91;
$custom-light: #956bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#652e91",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 273.333,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.1579,
    "h": 306.3
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#652E91
secondary
#89B764
accent
#DB4D8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652E91

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

Preview Lab → · Contrast checker → · Palette generator →

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