#75227B#75227B

#75227B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.158 H 325.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#75227B
RGBrgb(117, 34, 123)
HSLhsl(296, 57%, 31%)
HSVhsv(296, 72%, 48%)
CMYKcmyk(4.9%, 72.4%, 0%, 51.8%)
CIE-LABlab(30.30, 47.63, -32.64)
CIE-LCHlch(30.30, 57.74, 325.58°)
OKLaboklab(41.98% 0.1298 -0.0908)
OKLCHoklch(41.98% 0.158 325)
XYZxyz(11.4830, 6.3567, 19.3572)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75227B #287B22
analogous
#48227B #75227B #7B2254
triadic
#75227B #7B7522 #227B75
tetradic
#75227B #7B4822 #287B22 #22547B
square
#75227B #7B4822 #287B22 #22547B
split-complementary
#75227B #547B22 #227B48
monochromatic
#1A071B #47154B #75227B #A32FAB #C44ACD

Accessibility & contrast

On white

9.25
#75227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#75227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75227B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75227B#FFFFFF#000000##FFFFFF
##75227B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#78314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75227b;
/* rgb */ color: rgb(117, 34, 123);
/* oklch */ color: oklch(42.0% 0.158 325.0);
Tailwind
colors: {
  custom: {
    50: '#a066a1',
    500: '#75227b',
    950: '#000000',
  },
}
SCSS
$custom: #75227b;
$custom-light: #a066a1;
$custom-dark: #000000;
JSON
{
  "hex": "#75227b",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 295.955,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.15836,
    "h": 325
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#75227B
secondary
#52AE4B
accent
#E04852
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75227B

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

Preview Lab → · Contrast checker → · Palette generator →

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