#652A9C#652A9C

#652A9C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.175 H 303.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#652A9C
RGBrgb(101, 42, 156)
HSLhsl(271, 58%, 39%)
HSVhsv(271, 73%, 61%)
CMYKcmyk(35.3%, 73.1%, 0%, 38.8%)
CIE-LABlab(31.40, 47.87, -51.41)
CIE-LCHlch(31.40, 70.25, 312.95°)
OKLaboklab(43% 0.0962 -0.1464)
OKLCHoklch(43% 0.175 303.3)
XYZxyz(12.1941, 6.8229, 32.1206)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A9C #619C2A
analogous
#2C2A9C #652A9C #9C2A9A
triadic
#652A9C #9C652A #2A9C65
tetradic
#652A9C #9C2C2A #619C2A #2A9A9C
square
#652A9C #9C2C2A #619C2A #2A9A9C
split-complementary
#652A9C #9A9C2A #2A9C2C
monochromatic
#27103C #461D6C #652A9C #8439CA #A26AD7

Accessibility & contrast

On white

8.88
#652A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652A9C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A9C#FFFFFF#000000##FFFFFF
##652A9C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5A4660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652a9c;
/* rgb */ color: rgb(101, 42, 156);
/* oklch */ color: oklch(43.0% 0.175 303.3);
Tailwind
colors: {
  custom: {
    50: '#9669ba',
    500: '#652a9c',
    950: '#000000',
  },
}
SCSS
$custom: #652a9c;
$custom-light: #9669ba;
$custom-dark: #000000;
JSON
{
  "hex": "#652a9c",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 271.053,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.17516,
    "h": 303.3
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#652A9C
secondary
#8FBD65
accent
#E14791
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #652A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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