#652188#652188

#652188 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.165 H 311.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#652188
RGBrgb(101, 33, 136)
HSLhsl(280, 61%, 33%)
HSVhsv(280, 76%, 53%)
CMYKcmyk(25.7%, 75.7%, 0%, 46.7%)
CIE-LABlab(28.46, 47.14, -43.86)
CIE-LCHlch(28.46, 64.39, 317.06°)
OKLaboklab(40.43% 0.1089 -0.1241)
OKLCHoklch(40.43% 0.165 311.3)
XYZxyz(10.3538, 5.6322, 23.8295)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652188 #448821
analogous
#322188 #652188 #882177
triadic
#652188 #886521 #218865
tetradic
#652188 #883221 #448821 #217788
square
#652188 #883221 #448821 #217788
split-complementary
#652188 #778821 #218832
monochromatic
#1C0925 #401557 #652188 #8A2DB9 #A74FD4

Accessibility & contrast

On white

9.88
#652188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#652188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652188
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652188#FFFFFF#000000##FFFFFF
##6521881.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#603953
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #652188;
/* rgb */ color: rgb(101, 33, 136);
/* oklch */ color: oklch(40.4% 0.165 311.3);
Tailwind
colors: {
  custom: {
    50: '#9564ab',
    500: '#652188',
    950: '#000000',
  },
}
SCSS
$custom: #652188;
$custom-light: #9564ab;
$custom-dark: #000000;
JSON
{
  "hex": "#652188",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 279.612,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.16514,
    "h": 311.3
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#652188
secondary
#71B84D
accent
#E4447A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #652188

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

Preview Lab → · Contrast checker → · Palette generator →

#652188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva