#752297#752297

#752297 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.184 H 313.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#752297
RGBrgb(117, 34, 151)
HSLhsl(283, 63%, 36%)
HSVhsv(283, 77%, 59%)
CMYKcmyk(22.5%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.17, 53.20, -47.01)
CIE-LCHlch(32.17, 70.99, 318.54°)
OKLaboklab(43.91% 0.1271 -0.1328)
OKLCHoklch(43.91% 0.184 313.7)
XYZxyz(13.4931, 7.1608, 29.9435)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752297 #449722
analogous
#3B2297 #752297 #97227F
triadic
#752297 #977522 #229775
tetradic
#752297 #973B22 #449722 #227F97
square
#752297 #973B22 #449722 #227F97
split-complementary
#752297 #7F9722 #22973B
monochromatic
#280C33 #4E1765 #752297 #9C2DC9 #B55ADA

Accessibility & contrast

On white

8.63
#752297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#752297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752297
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752297#FFFFFF#000000##FFFFFF
##7522971.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#723D5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752297;
/* rgb */ color: rgb(117, 34, 151);
/* oklch */ color: oklch(43.9% 0.184 313.7);
Tailwind
colors: {
  custom: {
    50: '#a167b6',
    500: '#752297',
    950: '#000000',
  },
}
SCSS
$custom: #752297;
$custom-light: #a167b6;
$custom-dark: #000000;
JSON
{
  "hex": "#752297",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 282.564,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.18384,
    "h": 313.7
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#752297
secondary
#75BE57
accent
#E64271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752297

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

Preview Lab → · Contrast checker → · Palette generator →

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