#652F83#652F83

#652F83 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 311.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#652F83
RGBrgb(101, 47, 131)
HSLhsl(279, 47%, 35%)
HSVhsv(279, 64%, 51%)
CMYKcmyk(22.9%, 64.1%, 0%, 48.6%)
CIE-LABlab(30.49, 39.35, -37.48)
CIE-LCHlch(30.49, 54.35, 316.40°)
OKLaboklab(41.78% 0.0931 -0.1055)
OKLCHoklch(41.78% 0.141 311.4)
XYZxyz(10.4793, 6.4387, 22.1591)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F83 #4D832F
analogous
#3B2F83 #652F83 #832F77
triadic
#652F83 #83652F #2F8365
tetradic
#652F83 #833B2F #4D832F #2F7783
square
#652F83 #833B2F #4D832F #2F7783
split-complementary
#652F83 #77832F #2F833B
monochromatic
#200F29 #421F56 #652F83 #883FB0 #A465C8

Accessibility & contrast

On white

9.18
#652F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#652F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F83
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F83#FFFFFF#000000##FFFFFF
##652F831.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4586
Deuteranopia (green-blind)
#274981
Tritanopia (blue-blind)
#613F54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652f83;
/* rgb */ color: rgb(101, 47, 131);
/* oklch */ color: oklch(41.8% 0.141 311.4);
Tailwind
colors: {
  custom: {
    50: '#946ba7',
    500: '#652f83',
    950: '#000000',
  },
}
SCSS
$custom: #652f83;
$custom-light: #946ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#652f83",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 278.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.14072,
    "h": 311.4
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#652F83
secondary
#7CAF5F
accent
#D75181
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #652F83

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

Preview Lab → · Contrast checker → · Palette generator →

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