#75227C#75227C

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

Color values

HEX#75227C
RGBrgb(117, 34, 124)
HSLhsl(295, 57%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(5.6%, 72.6%, 0%, 51.4%)
CIE-LABlab(30.36, 47.82, -33.17)
CIE-LCHlch(30.36, 58.20, 325.25°)
OKLaboklab(42.04% 0.1298 -0.0923)
OKLCHoklch(42.04% 0.159 324.6)
XYZxyz(11.5459, 6.3819, 19.6886)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75227C #297C22
analogous
#48227C #75227C #7C2256
triadic
#75227C #7C7522 #227C75
tetradic
#75227C #7C4822 #297C22 #22567C
square
#75227C #7C4822 #297C22 #22567C
split-complementary
#75227C #567C22 #227C48
monochromatic
#1A081C #48154C #75227C #A22FAC #C34BCE

Accessibility & contrast

On white

9.23
#75227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#75227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75227C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75227C#FFFFFF#000000##FFFFFF
##75227C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#77314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75227c;
/* rgb */ color: rgb(117, 34, 124);
/* oklch */ color: oklch(42.0% 0.159 324.6);
Tailwind
colors: {
  custom: {
    50: '#a066a2',
    500: '#75227c',
    950: '#000000',
  },
}
SCSS
$custom: #75227c;
$custom-light: #a066a2;
$custom-dark: #000000;
JSON
{
  "hex": "#75227c",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 295.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.15924,
    "h": 324.6
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#75227C
secondary
#53AF4B
accent
#E04853
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75227C

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

Preview Lab → · Contrast checker → · Palette generator →

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