#752397#752397

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

Color values

HEX#752397
RGBrgb(117, 35, 151)
HSLhsl(282, 62%, 36%)
HSVhsv(282, 77%, 59%)
CMYKcmyk(22.5%, 76.8%, 0%, 40.8%)
CIE-LABlab(32.30, 52.83, -46.80)
CIE-LCHlch(32.30, 70.58, 318.46°)
OKLaboklab(44% 0.1262 -0.1322)
OKLCHoklch(44% 0.183 313.7)
XYZxyz(13.5221, 7.2188, 29.9532)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752397 #459723
analogous
#3B2397 #752397 #97237F
triadic
#752397 #977523 #239775
tetradic
#752397 #973B23 #459723 #237F97
square
#752397 #973B23 #459723 #237F97
split-complementary
#752397 #7F9723 #23973B
monochromatic
#280C34 #4F1765 #752397 #9B2FC9 #B45BD9

Accessibility & contrast

On white

8.59
#752397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#752397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752397
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752397#FFFFFF#000000##FFFFFF
##7523971.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752397;
/* rgb */ color: rgb(117, 35, 151);
/* oklch */ color: oklch(44.0% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#a167b6',
    500: '#752397',
    950: '#000000',
  },
}
SCSS
$custom: #752397;
$custom-light: #a167b6;
$custom-dark: #000000;
JSON
{
  "hex": "#752397",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 282.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.18277,
    "h": 313.7
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#752397
secondary
#76BE58
accent
#E54272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752397

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

Preview Lab → · Contrast checker → · Palette generator →

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