#75228B#75228B

#75228B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 318.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#75228B
RGBrgb(117, 34, 139)
HSLhsl(287, 61%, 34%)
HSVhsv(287, 76%, 55%)
CMYKcmyk(15.8%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.33, 50.74, -40.99)
CIE-LCHlch(31.33, 65.23, 321.07°)
OKLaboklab(43.04% 0.1288 -0.1152)
OKLCHoklch(43.04% 0.173 318.2)
XYZxyz(12.5677, 6.7906, 25.0698)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75228B #388B22
analogous
#41228B #75228B #8B226D
triadic
#75228B #8B7522 #228B75
tetradic
#75228B #8B4122 #388B22 #226D8B
square
#75228B #8B4122 #388B22 #226D8B
split-complementary
#75228B #6D8B22 #228B41
monochromatic
#220A29 #4C165A #75228B #9E2EBC #BA53D5

Accessibility & contrast

On white

8.91
#75228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #75228B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75228B#FFFFFF#000000##FFFFFF
##75228B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#743855
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75228b;
/* rgb */ color: rgb(117, 34, 139);
/* oklch */ color: oklch(43.0% 0.173 318.2);
Tailwind
colors: {
  custom: {
    50: '#a066ad',
    500: '#75228b',
    950: '#000000',
  },
}
SCSS
$custom: #75228b;
$custom-light: #a066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#75228b",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 287.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.17277,
    "h": 318.2
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#75228B
secondary
#66B850
accent
#E44465
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75228B

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

Preview Lab → · Contrast checker → · Palette generator →

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