#75228E#75228E

#75228E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 317.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#75228E
RGBrgb(117, 34, 142)
HSLhsl(286, 61%, 35%)
HSVhsv(286, 76%, 56%)
CMYKcmyk(17.6%, 76.1%, 0%, 44.3%)
CIE-LABlab(31.53, 51.34, -42.51)
CIE-LCHlch(31.53, 66.66, 320.38°)
OKLaboklab(43.25% 0.1284 -0.1196)
OKLCHoklch(43.25% 0.176 317)
XYZxyz(12.7899, 6.8795, 26.2401)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75228E #3B8E22
analogous
#3F228E #75228E #8E2271
triadic
#75228E #8E7522 #228E75
tetradic
#75228E #8E3F22 #3B8E22 #22718E
square
#75228E #8E3F22 #3B8E22 #22718E
split-complementary
#75228E #718E22 #228E3F
monochromatic
#240A2B #4C165D #75228E #9E2EBF #B854D6

Accessibility & contrast

On white

8.84
#75228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#75228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75228E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75228E#FFFFFF#000000##FFFFFF
##75228E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#743956
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75228e;
/* rgb */ color: rgb(117, 34, 142);
/* oklch */ color: oklch(43.3% 0.176 317.0);
Tailwind
colors: {
  custom: {
    50: '#a066b0',
    500: '#75228e',
    950: '#000000',
  },
}
SCSS
$custom: #75228e;
$custom-light: #a066b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75228e",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 286.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43252,
    "c": 0.17552,
    "h": 317
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#75228E
secondary
#6ABA52
accent
#E44369
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75228E

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

Preview Lab → · Contrast checker → · Palette generator →

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