#75228C#75228C

#75228C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 317.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#75228C
RGBrgb(117, 34, 140)
HSLhsl(287, 61%, 34%)
HSVhsv(287, 76%, 55%)
CMYKcmyk(16.4%, 75.7%, 0%, 45.1%)
CIE-LABlab(31.39, 50.94, -41.50)
CIE-LCHlch(31.39, 65.70, 320.83°)
OKLaboklab(43.11% 0.1287 -0.1166)
OKLCHoklch(43.11% 0.174 317.8)
XYZxyz(12.6411, 6.8200, 25.4564)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75228C #398C22
analogous
#40228C #75228C #8C226E
triadic
#75228C #8C7522 #228C75
tetradic
#75228C #8C4022 #398C22 #226E8C
square
#75228C #8C4022 #398C22 #226E8C
split-complementary
#75228C #6E8C22 #228C40
monochromatic
#230A2A #4C165B #75228C #9E2EBD #B953D5

Accessibility & contrast

On white

8.88
#75228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#75228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75228C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75228C#FFFFFF#000000##FFFFFF
##75228C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#743855
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75228c;
/* rgb */ color: rgb(117, 34, 140);
/* oklch */ color: oklch(43.1% 0.174 317.8);
Tailwind
colors: {
  custom: {
    50: '#a066ae',
    500: '#75228c',
    950: '#000000',
  },
}
SCSS
$custom: #75228c;
$custom-light: #a066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#75228c",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 286.981,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.17368,
    "h": 317.8
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#75228C
secondary
#67B951
accent
#E44467
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75228C

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

Preview Lab → · Contrast checker → · Palette generator →

#75228C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva