#652D88#652D88

#652D88 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.149 H 309.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#652D88
RGBrgb(101, 45, 136)
HSLhsl(277, 50%, 35%)
HSVhsv(277, 67%, 53%)
CMYKcmyk(25.7%, 66.9%, 0%, 46.7%)
CIE-LABlab(30.45, 41.57, -40.66)
CIE-LCHlch(30.45, 58.15, 315.63°)
OKLaboklab(41.85% 0.0954 -0.1148)
OKLCHoklch(41.85% 0.149 309.7)
XYZxyz(10.7483, 6.4213, 23.9610)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652D88 #50882D
analogous
#372D88 #652D88 #882D7D
triadic
#652D88 #88652D #2D8865
tetradic
#652D88 #88372D #50882D #2D7D88
square
#652D88 #88372D #50882D #2D7D88
split-complementary
#652D88 #7D882D #2D8837
monochromatic
#210F2C #431E5A #652D88 #873CB6 #A464CC

Accessibility & contrast

On white

9.19
#652D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#652D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652D88
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652D88#FFFFFF#000000##FFFFFF
##652D881.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#604056
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652d88;
/* rgb */ color: rgb(101, 45, 136);
/* oklch */ color: oklch(41.9% 0.149 309.7);
Tailwind
colors: {
  custom: {
    50: '#946aab',
    500: '#652d88',
    950: '#000000',
  },
}
SCSS
$custom: #652d88;
$custom-light: #946aab;
$custom-dark: #000000;
JSON
{
  "hex": "#652d88",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 276.923,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.14929,
    "h": 309.7
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#652D88
secondary
#7FB25F
accent
#DA4E84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652D88

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

Preview Lab → · Contrast checker → · Palette generator →

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