#75227D#75227D

#75227D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.160 H 324.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#75227D
RGBrgb(117, 34, 125)
HSLhsl(295, 57%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(6.4%, 72.8%, 0%, 51%)
CIE-LABlab(30.42, 48.01, -33.70)
CIE-LCHlch(30.42, 58.66, 324.93°)
OKLaboklab(42.1% 0.1297 -0.0939)
OKLCHoklch(42.1% 0.16 324.1)
XYZxyz(11.6095, 6.4073, 20.0233)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75227D #2A7D22
analogous
#47227D #75227D #7D2257
triadic
#75227D #7D7522 #227D75
tetradic
#75227D #7D4722 #2A7D22 #22577D
square
#75227D #7D4722 #2A7D22 #22577D
split-complementary
#75227D #577D22 #227D47
monochromatic
#1B081D #48154D #75227D #A22FAD #C34BCE

Accessibility & contrast

On white

9.20
#75227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #75227D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75227D#FFFFFF#000000##FFFFFF
##75227D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064180
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#77314D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #75227d;
/* rgb */ color: rgb(117, 34, 125);
/* oklch */ color: oklch(42.1% 0.160 324.1);
Tailwind
colors: {
  custom: {
    50: '#a066a3',
    500: '#75227d',
    950: '#000000',
  },
}
SCSS
$custom: #75227d;
$custom-light: #a066a3;
$custom-dark: #000000;
JSON
{
  "hex": "#75227d",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 294.725,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.16013,
    "h": 324.1
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#75227D
secondary
#54B04B
accent
#E04755
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75227D

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

Preview Lab → · Contrast checker → · Palette generator →

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