#752982#752982

#752982 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 321.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#752982
RGBrgb(117, 41, 130)
HSLhsl(291, 52%, 34%)
HSVhsv(291, 68%, 51%)
CMYKcmyk(10%, 68.5%, 0%, 49%)
CIE-LABlab(31.76, 46.06, -34.69)
CIE-LCHlch(31.76, 57.66, 323.01°)
OKLaboklab(43.17% 0.1217 -0.0968)
OKLCHoklch(43.17% 0.156 321.5)
XYZxyz(12.1579, 6.9801, 21.8217)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752982 #368229
analogous
#482982 #752982 #822962
triadic
#752982 #827529 #298275
tetradic
#752982 #824829 #368229 #296282
square
#752982 #824829 #368229 #296282
split-complementary
#752982 #628229 #298248
monochromatic
#210C25 #4B1A53 #752982 #9F38B1 #BB5ACB

Accessibility & contrast

On white

8.77
#752982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#752982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752982
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752982#FFFFFF#000000##FFFFFF
##7529821.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#763852
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752982;
/* rgb */ color: rgb(117, 41, 130);
/* oklch */ color: oklch(43.2% 0.155 321.5);
Tailwind
colors: {
  custom: {
    50: '#a069a7',
    500: '#752982',
    950: '#000000',
  },
}
SCSS
$custom: #752982;
$custom-light: #a069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#752982",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 291.236,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.1555,
    "h": 321.5
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#752982
secondary
#64B056
accent
#DB4C61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752982

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

Preview Lab → · Contrast checker → · Palette generator →

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