#652F9F#652F9F

#652F9F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.172 H 301.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#652F9F
RGBrgb(101, 47, 159)
HSLhsl(269, 54%, 40%)
HSVhsv(269, 70%, 62%)
CMYKcmyk(36.5%, 70.4%, 0%, 37.6%)
CIE-LABlab(32.49, 46.22, -51.47)
CIE-LCHlch(32.49, 69.18, 311.92°)
OKLaboklab(43.84% 0.0905 -0.1466)
OKLCHoklch(43.84% 0.172 301.7)
XYZxyz(12.6399, 7.3029, 33.5378)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F9F #699F2F
analogous
#2F319F #652F9F #9D2F9F
triadic
#652F9F #9F652F #2F9F65
tetradic
#652F9F #9F2F31 #699F2F #2F9F9D
square
#652F9F #9F2F31 #699F2F #2F9F9D
split-complementary
#652F9F #9F9D2F #319F2F
monochromatic
#291341 #472170 #652F9F #8344C8 #A273D6

Accessibility & contrast

On white

8.53
#652F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#652F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F9F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F9F#FFFFFF#000000##FFFFFF
##652F9F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#594963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #652f9f;
/* rgb */ color: rgb(101, 47, 159);
/* oklch */ color: oklch(43.8% 0.172 301.7);
Tailwind
colors: {
  custom: {
    50: '#966cbc',
    500: '#652f9f',
    950: '#000000',
  },
}
SCSS
$custom: #652f9f;
$custom-light: #966cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#652f9f",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 268.929,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.17226,
    "h": 301.7
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#652F9F
secondary
#96BD6D
accent
#DE4A97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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