#752398#752398

#752398 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.184 H 313.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#752398
RGBrgb(117, 35, 152)
HSLhsl(282, 63%, 37%)
HSVhsv(282, 77%, 60%)
CMYKcmyk(23%, 77%, 0%, 40.4%)
CIE-LABlab(32.37, 53.04, -47.29)
CIE-LCHlch(32.37, 71.06, 318.28°)
OKLaboklab(44.07% 0.126 -0.1337)
OKLCHoklch(44.07% 0.184 313.3)
XYZxyz(13.6036, 7.2514, 30.3827)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752398 #469823
analogous
#3A2398 #752398 #982381
triadic
#752398 #987523 #239875
tetradic
#752398 #983A23 #469823 #238198
square
#752398 #983A23 #469823 #238198
split-complementary
#752398 #819823 #23983A
monochromatic
#280C35 #4F1866 #752398 #9B2ECA #B45CD9

Accessibility & contrast

On white

8.57
#752398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752398
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752398#FFFFFF#000000##FFFFFF
##7523981.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#713E5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752398;
/* rgb */ color: rgb(117, 35, 152);
/* oklch */ color: oklch(44.1% 0.184 313.3);
Tailwind
colors: {
  custom: {
    50: '#a167b7',
    500: '#752398',
    950: '#000000',
  },
}
SCSS
$custom: #752398;
$custom-light: #a167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#752398",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 282.051,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44072,
    "c": 0.1837,
    "h": 313.3
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#752398
secondary
#77BE59
accent
#E64273
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752398

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

Preview Lab → · Contrast checker → · Palette generator →

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