#73238B#73238B

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

Color values

HEX#73238B
RGBrgb(115, 35, 139)
HSLhsl(286, 60%, 34%)
HSVhsv(286, 75%, 55%)
CMYKcmyk(17.3%, 74.8%, 0%, 45.5%)
CIE-LABlab(31.14, 49.92, -41.30)
CIE-LCHlch(31.14, 64.79, 320.40°)
OKLaboklab(42.85% 0.1252 -0.1161)
OKLCHoklch(42.85% 0.171 317.2)
XYZxyz(12.3308, 6.7115, 25.0670)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#73238B #3B8B23
analogous
#3F238B #73238B #8B236F
triadic
#73238B #8B7323 #238B73
tetradic
#73238B #8B3F23 #3B8B23 #236F8B
square
#73238B #8B3F23 #3B8B23 #236F8B
split-complementary
#73238B #6F8B23 #238B3F
monochromatic
#220A29 #4B175A #73238B #9B2FBC #B754D4

Accessibility & contrast

On white

8.97
#73238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#73238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #73238B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##73238B#FFFFFF#000000##FFFFFF
##73238B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#723955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #73238b;
/* rgb */ color: rgb(115, 35, 139);
/* oklch */ color: oklch(42.8% 0.171 317.2);
Tailwind
colors: {
  custom: {
    50: '#9f66ad',
    500: '#73238b',
    950: '#000000',
  },
}
SCSS
$custom: #73238b;
$custom-light: #9f66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#73238b",
  "rgb": {
    "r": 115,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 286.154,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.17079,
    "h": 317.2
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#73238B
secondary
#69B852
accent
#E34569
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #73238B

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

Preview Lab → · Contrast checker → · Palette generator →

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