#752181#752181

#752181 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.165 H 322.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#752181
RGBrgb(117, 33, 129)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(9.3%, 74.4%, 0%, 49.4%)
CIE-LABlab(30.53, 49.15, -36.03)
CIE-LCHlch(30.53, 60.94, 323.76°)
OKLaboklab(42.27% 0.1306 -0.1006)
OKLCHoklch(42.27% 0.165 322.4)
XYZxyz(11.8420, 6.4553, 21.3869)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752181 #2D8121
analogous
#452181 #752181 #81215D
triadic
#752181 #817521 #218175
tetradic
#752181 #814521 #2D8121 #215D81
square
#752181 #814521 #2D8121 #215D81
split-complementary
#752181 #5D8121 #218145
monochromatic
#1D0820 #491550 #752181 #A12DB2 #C04BD1

Accessibility & contrast

On white

9.17
#752181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#752181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752181
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752181#FFFFFF#000000##FFFFFF
##7521811.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#77334F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752181;
/* rgb */ color: rgb(117, 33, 129);
/* oklch */ color: oklch(42.3% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#a065a6',
    500: '#752181',
    950: '#000000',
  },
}
SCSS
$custom: #752181;
$custom-light: #a065a6;
$custom-dark: #000000;
JSON
{
  "hex": "#752181",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 292.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.1649,
    "h": 322.4
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#752181
secondary
#57B44A
accent
#E24559
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752181

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

Preview Lab → · Contrast checker → · Palette generator →

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