#752381#752381

#752381 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.162 H 322.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#752381
RGBrgb(117, 35, 129)
HSLhsl(292, 57%, 32%)
HSVhsv(292, 73%, 51%)
CMYKcmyk(9.3%, 72.9%, 0%, 49.4%)
CIE-LABlab(30.81, 48.38, -35.59)
CIE-LCHlch(30.81, 60.06, 323.66°)
OKLaboklab(42.46% 0.1285 -0.0994)
OKLCHoklch(42.46% 0.162 322.3)
XYZxyz(11.8992, 6.5696, 21.4059)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752381 #2F8123
analogous
#462381 #752381 #81235E
triadic
#752381 #817523 #238175
tetradic
#752381 #814623 #2F8123 #235E81
square
#752381 #814623 #2F8123 #235E81
split-complementary
#752381 #5E8123 #238146
monochromatic
#1E0921 #491651 #752381 #A130B1 #BF4FCF

Accessibility & contrast

On white

9.08
#752381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752381
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752381#FFFFFF#000000##FFFFFF
##7523811.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004384
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#76344F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752381;
/* rgb */ color: rgb(117, 35, 129);
/* oklch */ color: oklch(42.5% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#a066a6',
    500: '#752381',
    950: '#000000',
  },
}
SCSS
$custom: #752381;
$custom-light: #a066a6;
$custom-dark: #000000;
JSON
{
  "hex": "#752381",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 292.34,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.16247,
    "h": 322.3
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#752381
secondary
#5AB34D
accent
#E1475B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752381

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

Preview Lab → · Contrast checker → · Palette generator →

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