#73228B#73228B

#73228B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.172 H 317.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#73228B
RGBrgb(115, 34, 139)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(17.3%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.00, 50.31, -41.52)
CIE-LCHlch(31.00, 65.23, 320.47°)
OKLaboklab(42.75% 0.1262 -0.1168)
OKLCHoklch(42.75% 0.172 317.2)
XYZxyz(12.3018, 6.6535, 25.0573)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73228B #3A8B22
analogous
#3F228B #73228B #8B226F
triadic
#73228B #8B7322 #228B73
tetradic
#73228B #8B3F22 #3A8B22 #226F8B
square
#73228B #8B3F22 #3A8B22 #226F8B
split-complementary
#73228B #6F8B22 #228B3F
monochromatic
#220A29 #4A165A #73228B #9C2EBC #B753D5

Accessibility & contrast

On white

9.01
#73228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#73228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73228B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73228B#FFFFFF#000000##FFFFFF
##73228B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#723855
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #73228b;
/* rgb */ color: rgb(115, 34, 139);
/* oklch */ color: oklch(42.7% 0.172 317.2);
Tailwind
colors: {
  custom: {
    50: '#9f66ad',
    500: '#73228b',
    950: '#000000',
  },
}
SCSS
$custom: #73228b;
$custom-light: #9f66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#73228b",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 286.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.17196,
    "h": 317.2
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#73228B
secondary
#68B850
accent
#E44469
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73228B

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

Preview Lab → · Contrast checker → · Palette generator →

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