#73227B#73227B

#73227B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.157 H 324.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#73227B
RGBrgb(115, 34, 123)
HSLhsl(295, 57%, 31%)
HSVhsv(295, 72%, 48%)
CMYKcmyk(6.5%, 72.4%, 0%, 51.8%)
CIE-LABlab(29.96, 47.15, -33.19)
CIE-LCHlch(29.96, 57.66, 324.86°)
OKLaboklab(41.67% 0.1274 -0.0924)
OKLCHoklch(41.67% 0.157 324)
XYZxyz(11.2171, 6.2196, 19.3447)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73227B #2A7B22
analogous
#46227B #73227B #7B2256
triadic
#73227B #7B7322 #227B73
tetradic
#73227B #7B4622 #2A7B22 #22567B
square
#73227B #7B4622 #2A7B22 #22567B
split-complementary
#73227B #567B22 #227B46
monochromatic
#19071B #46154B #73227B #A02FAB #C14ACD

Accessibility & contrast

On white

9.36
#73227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#73227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73227B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73227B#FFFFFF#000000##FFFFFF
##73227B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#75314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #73227b;
/* rgb */ color: rgb(115, 34, 123);
/* oklch */ color: oklch(41.7% 0.157 324.0);
Tailwind
colors: {
  custom: {
    50: '#9e65a1',
    500: '#73227b',
    950: '#000000',
  },
}
SCSS
$custom: #73227b;
$custom-light: #9e65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#73227b",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 294.607,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.15736,
    "h": 324
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#73227B
secondary
#54AE4B
accent
#E04856
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #73227B

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

Preview Lab → · Contrast checker → · Palette generator →

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