#752282#752282

#752282 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.165 H 321.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#752282
RGBrgb(117, 34, 130)
HSLhsl(292, 59%, 32%)
HSVhsv(292, 74%, 51%)
CMYKcmyk(10%, 73.8%, 0%, 49%)
CIE-LABlab(30.73, 48.96, -36.34)
CIE-LCHlch(30.73, 60.97, 323.42°)
OKLaboklab(42.43% 0.1295 -0.1015)
OKLCHoklch(42.43% 0.165 321.9)
XYZxyz(11.9370, 6.5383, 21.7480)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752282 #2F8222
analogous
#452282 #752282 #82225F
triadic
#752282 #827522 #228275
tetradic
#752282 #824522 #2F8222 #225F82
square
#752282 #824522 #2F8222 #225F82
split-complementary
#752282 #5F8222 #228245
monochromatic
#1E0921 #491551 #752282 #A12FB3 #BF4ED1

Accessibility & contrast

On white

9.10
#752282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752282
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752282#FFFFFF#000000##FFFFFF
##7522821.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2F4B80
Tritanopia (blue-blind)
#763450
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752282;
/* rgb */ color: rgb(117, 34, 130);
/* oklch */ color: oklch(42.4% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#a066a7',
    500: '#752282',
    950: '#000000',
  },
}
SCSS
$custom: #752282;
$custom-light: #a066a7;
$custom-dark: #000000;
JSON
{
  "hex": "#752282",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 291.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42428,
    "c": 0.16459,
    "h": 321.9
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#752282
secondary
#5AB44C
accent
#E2465B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #752282

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

Preview Lab → · Contrast checker → · Palette generator →

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