#752279#752279

#752279 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 326.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#752279
RGBrgb(117, 34, 121)
HSLhsl(297, 56%, 30%)
HSVhsv(297, 72%, 47%)
CMYKcmyk(3.3%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.17, 47.26, -31.57)
CIE-LCHlch(30.17, 56.83, 326.26°)
OKLaboklab(41.85% 0.1298 -0.0876)
OKLCHoklch(41.85% 0.157 326)
XYZxyz(11.3591, 6.3072, 18.7046)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752279 #267922
analogous
#492279 #752279 #792252
triadic
#752279 #797522 #227975
tetradic
#752279 #794922 #267922 #225279
square
#752279 #794922 #267922 #225279
split-complementary
#752279 #527922 #227949
monochromatic
#190719 #471549 #752279 #A32FA9 #C649CC

Accessibility & contrast

On white

9.29
#752279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#752279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752279
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752279#FFFFFF#000000##FFFFFF
##7522791.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#78304B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #752279;
/* rgb */ color: rgb(117, 34, 121);
/* oklch */ color: oklch(41.8% 0.157 326.0);
Tailwind
colors: {
  custom: {
    50: '#a065a0',
    500: '#752279',
    950: '#000000',
  },
}
SCSS
$custom: #752279;
$custom-light: #a065a0;
$custom-dark: #000000;
JSON
{
  "hex": "#752279",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 297.241,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.15661,
    "h": 326
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#752279
secondary
#4FAC4B
accent
#DF484F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #752279

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

Preview Lab → · Contrast checker → · Palette generator →

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