#73227F#73227F

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

Color values

HEX#73227F
RGBrgb(115, 34, 127)
HSLhsl(292, 58%, 32%)
HSVhsv(292, 73%, 50%)
CMYKcmyk(9.4%, 73.2%, 0%, 50.2%)
CIE-LABlab(30.21, 47.92, -35.31)
CIE-LCHlch(30.21, 59.52, 323.62°)
OKLaboklab(41.93% 0.1272 -0.0986)
OKLCHoklch(41.93% 0.161 322.2)
XYZxyz(11.4726, 6.3218, 20.6905)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73227F #2E7F22
analogous
#45227F #73227F #7F225D
triadic
#73227F #7F7322 #227F73
tetradic
#73227F #7F4522 #2E7F22 #225D7F
square
#73227F #7F4522 #2E7F22 #225D7F
split-complementary
#73227F #5D7F22 #227F45
monochromatic
#1C081E #47154F #73227F #9F2FAF #BE4CCF

Accessibility & contrast

On white

9.27
#73227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#73227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73227F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73227F#FFFFFF#000000##FFFFFF
##73227F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#74334E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #73227f;
/* rgb */ color: rgb(115, 34, 127);
/* oklch */ color: oklch(41.9% 0.161 322.2);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#73227f',
    950: '#000000',
  },
}
SCSS
$custom: #73227f;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#73227f",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 292.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.16096,
    "h": 322.2
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#73227F
secondary
#58B24B
accent
#E1475B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #73227F

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

Preview Lab → · Contrast checker → · Palette generator →

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