#72298B#72298B

#72298B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.163 H 316.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#72298B
RGBrgb(114, 41, 139)
HSLhsl(285, 54%, 35%)
HSVhsv(285, 71%, 55%)
CMYKcmyk(18%, 70.5%, 0%, 45.5%)
CIE-LABlab(31.87, 47.20, -40.14)
CIE-LCHlch(31.87, 61.96, 319.62°)
OKLaboklab(43.33% 0.1175 -0.1128)
OKLCHoklch(43.33% 0.163 316.2)
XYZxyz(12.3919, 7.0278, 25.1248)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72298B #428B29
analogous
#41298B #72298B #8B2973
triadic
#72298B #8B7229 #298B72
tetradic
#72298B #8B4129 #428B29 #29738B
square
#72298B #8B4129 #428B29 #29738B
split-complementary
#72298B #738B29 #298B41
monochromatic
#240D2C #4B1B5C #72298B #9937BA #B35FD0

Accessibility & contrast

On white

8.73
#72298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#72298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72298B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72298B#FFFFFF#000000##FFFFFF
##72298B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#703C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #72298b;
/* rgb */ color: rgb(114, 41, 139);
/* oklch */ color: oklch(43.3% 0.163 316.2);
Tailwind
colors: {
  custom: {
    50: '#9e69ad',
    500: '#72298b',
    950: '#000000',
  },
}
SCSS
$custom: #72298b;
$custom-light: #9e69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72298b",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 284.694,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.16287,
    "h": 316.2
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#72298B
secondary
#72B55B
accent
#DE4A70
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #72298B

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

Preview Lab → · Contrast checker → · Palette generator →

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