#75227A#75227A

#75227A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.157 H 325.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#75227A
RGBrgb(117, 34, 122)
HSLhsl(297, 56%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(4.1%, 72.1%, 0%, 52.2%)
CIE-LABlab(30.23, 47.44, -32.10)
CIE-LCHlch(30.23, 57.28, 325.91°)
OKLaboklab(41.91% 0.1298 -0.0892)
OKLCHoklch(41.91% 0.157 325.5)
XYZxyz(11.4207, 6.3318, 19.0292)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75227A #277A22
analogous
#49227A #75227A #7A2253
triadic
#75227A #7A7522 #227A75
tetradic
#75227A #7A4922 #277A22 #22537A
square
#75227A #7A4922 #277A22 #22537A
split-complementary
#75227A #537A22 #227A49
monochromatic
#19071A #47154A #75227A #A32FAA #C54ACD

Accessibility & contrast

On white

9.27
#75227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #75227A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75227A#FFFFFF#000000##FFFFFF
##75227A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#78304B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75227a;
/* rgb */ color: rgb(117, 34, 122);
/* oklch */ color: oklch(41.9% 0.157 325.5);
Tailwind
colors: {
  custom: {
    50: '#a065a1',
    500: '#75227a',
    950: '#000000',
  },
}
SCSS
$custom: #75227a;
$custom-light: #a065a1;
$custom-dark: #000000;
JSON
{
  "hex": "#75227a",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 296.591,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.15748,
    "h": 325.5
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#75227A
secondary
#51AD4B
accent
#E04851
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #75227A

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

Preview Lab → · Contrast checker → · Palette generator →

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