#752182#752182

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

Color values

HEX#752182
RGBrgb(117, 33, 130)
HSLhsl(292, 60%, 32%)
HSVhsv(292, 75%, 51%)
CMYKcmyk(10%, 74.6%, 0%, 49%)
CIE-LABlab(30.60, 49.35, -36.55)
CIE-LCHlch(30.60, 61.41, 323.47°)
OKLaboklab(42.33% 0.1306 -0.1022)
OKLCHoklch(42.33% 0.166 322)
XYZxyz(11.9088, 6.4820, 21.7386)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752182 #2E8221
analogous
#452182 #752182 #82215F
triadic
#752182 #827521 #218275
tetradic
#752182 #824521 #2E8221 #215F82
square
#752182 #824521 #2E8221 #215F82
split-complementary
#752182 #5F8221 #218245
monochromatic
#1D0820 #491551 #752182 #A12DB3 #C04CD2

Accessibility & contrast

On white

9.15
#752182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#752182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752182
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752182#FFFFFF#000000##FFFFFF
##7521821.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#76334F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752182;
/* rgb */ color: rgb(117, 33, 130);
/* oklch */ color: oklch(42.3% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#a065a7',
    500: '#752182',
    950: '#000000',
  },
}
SCSS
$custom: #752182;
$custom-light: #a065a7;
$custom-dark: #000000;
JSON
{
  "hex": "#752182",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 291.959,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.16579,
    "h": 322
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#752182
secondary
#59B44A
accent
#E3455A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752182

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

Preview Lab → · Contrast checker → · Palette generator →

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