#652D94#652D94

#652D94 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.163 H 305.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#652D94
RGBrgb(101, 45, 148)
HSLhsl(273, 53%, 38%)
HSVhsv(273, 70%, 58%)
CMYKcmyk(31.8%, 69.6%, 0%, 42%)
CIE-LABlab(31.30, 44.47, -46.68)
CIE-LCHlch(31.30, 64.47, 313.61°)
OKLaboklab(42.74% 0.0943 -0.1325)
OKLCHoklch(42.74% 0.163 305.4)
XYZxyz(11.6493, 6.7817, 28.7065)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D94 #5C942D
analogous
#312D94 #652D94 #942D90
triadic
#652D94 #94652D #2D9465
tetradic
#652D94 #94312D #5C942D #2D9094
square
#652D94 #94312D #5C942D #2D9094
split-complementary
#652D94 #90942D #2D9431
monochromatic
#251036 #451F65 #652D94 #853BC3 #A26AD2

Accessibility & contrast

On white

8.91
#652D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D94
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D94#FFFFFF#000000##FFFFFF
##652D941.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#5D445D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652d94;
/* rgb */ color: rgb(101, 45, 148);
/* oklch */ color: oklch(42.7% 0.163 305.4);
Tailwind
colors: {
  custom: {
    50: '#956ab4',
    500: '#652d94',
    950: '#000000',
  },
}
SCSS
$custom: #652d94;
$custom-light: #956ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#652d94",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 272.621,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.16261,
    "h": 305.4
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#652D94
secondary
#8BB864
accent
#DD4B8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652D94

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

Preview Lab → · Contrast checker → · Palette generator →

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