#72238F#72238F

#72238F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.174 H 315.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#72238F
RGBrgb(114, 35, 143)
HSLhsl(284, 61%, 35%)
HSVhsv(284, 76%, 56%)
CMYKcmyk(20.3%, 75.5%, 0%, 43.9%)
CIE-LABlab(31.26, 50.54, -43.59)
CIE-LCHlch(31.26, 66.74, 319.23°)
OKLaboklab(42.99% 0.1234 -0.1229)
OKLCHoklch(42.99% 0.174 315.1)
XYZxyz(12.4976, 6.7631, 26.6284)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72238F #408F23
analogous
#3C238F #72238F #8F2376
triadic
#72238F #8F7223 #238F72
tetradic
#72238F #8F3C23 #408F23 #23768F
square
#72238F #8F3C23 #408F23 #23768F
split-complementary
#72238F #768F23 #238F3C
monochromatic
#240B2D #4B175E #72238F #992FC0 #B457D6

Accessibility & contrast

On white

8.93
#72238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#72238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72238F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72238F#FFFFFF#000000##FFFFFF
##72238F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#703A57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72238f;
/* rgb */ color: rgb(114, 35, 143);
/* oklch */ color: oklch(43.0% 0.174 315.1);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72238f',
    950: '#000000',
  },
}
SCSS
$custom: #72238f;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72238f",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 283.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.17417,
    "h": 315.1
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#72238F
secondary
#6FBA54
accent
#E4446F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72238F

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

Preview Lab → · Contrast checker → · Palette generator →

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