#72268B#72268B

#72268B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.167 H 316.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#72268B
RGBrgb(114, 38, 139)
HSLhsl(285, 57%, 35%)
HSVhsv(285, 73%, 55%)
CMYKcmyk(18%, 72.7%, 0%, 45.5%)
CIE-LABlab(31.41, 48.49, -40.87)
CIE-LCHlch(31.41, 63.41, 319.87°)
OKLaboklab(43.01% 0.1208 -0.1149)
OKLCHoklch(43.01% 0.167 316.4)
XYZxyz(12.2920, 6.8282, 25.0916)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72268B #3F8B26
analogous
#40268B #72268B #8B2671
triadic
#72268B #8B7226 #268B72
tetradic
#72268B #8B4026 #3F8B26 #26718B
square
#72268B #8B4026 #3F8B26 #26718B
split-complementary
#72268B #718B26 #268B40
monochromatic
#230C2B #4B195B #72268B #9933BB #B45AD2

Accessibility & contrast

On white

8.88
#72268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#72268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72268B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72268B#FFFFFF#000000##FFFFFF
##72268B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#713A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72268b;
/* rgb */ color: rgb(114, 38, 139);
/* oklch */ color: oklch(43.0% 0.167 316.4);
Tailwind
colors: {
  custom: {
    50: '#9e68ad',
    500: '#72268b',
    950: '#000000',
  },
}
SCSS
$custom: #72268b;
$custom-light: #9e68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72268b",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 285.149,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.16674,
    "h": 316.4
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#72268B
secondary
#6EB756
accent
#E0476D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72268B

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

Preview Lab → · Contrast checker → · Palette generator →

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