#752180#752180

#752180 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.164 H 322.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#752180
RGBrgb(117, 33, 128)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 50%)
CMYKcmyk(8.6%, 74.2%, 0%, 49.8%)
CIE-LABlab(30.47, 48.96, -35.50)
CIE-LCHlch(30.47, 60.48, 324.05°)
OKLaboklab(42.2% 0.1307 -0.0991)
OKLCHoklch(42.2% 0.164 322.8)
XYZxyz(11.7759, 6.4288, 21.0385)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752180 #2C8021
analogous
#462180 #752180 #80215C
triadic
#752180 #807521 #218075
tetradic
#752180 #804621 #2C8021 #215C80
square
#752180 #804621 #2C8021 #215C80
split-complementary
#752180 #5C8021 #218046
monochromatic
#1C081F #49144F #752180 #A12EB1 #C14BD1

Accessibility & contrast

On white

9.19
#752180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752180
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752180#FFFFFF#000000##FFFFFF
##7521801.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#77324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752180;
/* rgb */ color: rgb(117, 33, 128);
/* oklch */ color: oklch(42.2% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#a065a5',
    500: '#752180',
    950: '#000000',
  },
}
SCSS
$custom: #752180;
$custom-light: #a065a5;
$custom-dark: #000000;
JSON
{
  "hex": "#752180",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 293.053,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.422,
    "c": 0.16401,
    "h": 322.8
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#752180
secondary
#56B34A
accent
#E24658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752180

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

Preview Lab → · Contrast checker → · Palette generator →

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