#652181#652181

#652181 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.158 H 314.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#652181
RGBrgb(101, 33, 129)
HSLhsl(283, 59%, 32%)
HSVhsv(283, 74%, 51%)
CMYKcmyk(21.7%, 74.4%, 0%, 49.4%)
CIE-LABlab(27.95, 45.59, -40.31)
CIE-LCHlch(27.95, 60.85, 318.51°)
OKLaboklab(39.91% 0.11 -0.1137)
OKLCHoklch(39.91% 0.158 314)
XYZxyz(9.8725, 5.4397, 21.2945)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652181 #3D8121
analogous
#352181 #652181 #81216D
triadic
#652181 #816521 #218165
tetradic
#652181 #813521 #3D8121 #216D81
square
#652181 #813521 #3D8121 #216D81
split-complementary
#652181 #6D8121 #218135
monochromatic
#190820 #3F1550 #652181 #8B2DB2 #AA4BD1

Accessibility & contrast

On white

10.06
#652181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#652181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652181
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652181#FFFFFF#000000##FFFFFF
##6521811.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#62364F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #652181;
/* rgb */ color: rgb(101, 33, 129);
/* oklch */ color: oklch(39.9% 0.158 314.0);
Tailwind
colors: {
  custom: {
    50: '#9463a6',
    500: '#652181',
    950: '#000000',
  },
}
SCSS
$custom: #652181;
$custom-light: #9463a6;
$custom-dark: #000000;
JSON
{
  "hex": "#652181",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 282.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.15817,
    "h": 314
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#652181
secondary
#69B44A
accent
#E24573
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #652181

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

Preview Lab → · Contrast checker → · Palette generator →

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