#72258F#72258F

#72258F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.172 H 315.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#72258F
RGBrgb(114, 37, 143)
HSLhsl(284, 59%, 35%)
HSVhsv(284, 74%, 56%)
CMYKcmyk(20.3%, 74.1%, 0%, 43.9%)
CIE-LABlab(31.54, 49.74, -43.13)
CIE-LCHlch(31.54, 65.84, 319.07°)
OKLaboklab(43.19% 0.1214 -0.1216)
OKLCHoklch(43.19% 0.172 315)
XYZxyz(12.5581, 6.8842, 26.6485)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258F #428F25
analogous
#3D258F #72258F #8F2577
triadic
#72258F #8F7225 #258F72
tetradic
#72258F #8F3D25 #428F25 #25778F
square
#72258F #8F3D25 #428F25 #25778F
split-complementary
#72258F #778F25 #258F3D
monochromatic
#240C2E #4B185E #72258F #9932C0 #B35AD4

Accessibility & contrast

On white

8.84
#72258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#72258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72258F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258F#FFFFFF#000000##FFFFFF
##72258F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#703C58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72258f;
/* rgb */ color: rgb(114, 37, 143);
/* oklch */ color: oklch(43.2% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#9e67b0',
    500: '#72258f',
    950: '#000000',
  },
}
SCSS
$custom: #72258f;
$custom-light: #9e67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72258f",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 283.585,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.17182,
    "h": 315
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#72258F
secondary
#72B957
accent
#E24670
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72258F

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

Preview Lab → · Contrast checker → · Palette generator →

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