#76248B#76248B

#76248B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 318.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#76248B
RGBrgb(118, 36, 139)
HSLhsl(288, 59%, 34%)
HSVhsv(288, 74%, 55%)
CMYKcmyk(15.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(31.76, 50.18, -40.29)
CIE-LCHlch(31.76, 64.35, 321.24°)
OKLaboklab(43.38% 0.1281 -0.1131)
OKLCHoklch(43.38% 0.171 318.6)
XYZxyz(12.7617, 6.9780, 25.0958)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76248B #398B24
analogous
#43248B #76248B #8B246D
triadic
#76248B #8B7624 #248B76
tetradic
#76248B #8B4324 #398B24 #246D8B
square
#76248B #8B4324 #398B24 #246D8B
split-complementary
#76248B #6D8B24 #248B43
monochromatic
#230B2A #4D175A #76248B #9F31BC #BA56D3

Accessibility & contrast

On white

8.77
#76248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#76248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76248B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76248B#FFFFFF#000000##FFFFFF
##76248B1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2A4D89
Tritanopia (blue-blind)
#763955
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76248b;
/* rgb */ color: rgb(118, 36, 139);
/* oklch */ color: oklch(43.4% 0.171 318.6);
Tailwind
colors: {
  custom: {
    50: '#a167ad',
    500: '#76248b',
    950: '#000000',
  },
}
SCSS
$custom: #76248b;
$custom-light: #a167ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76248b",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 287.767,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.17083,
    "h": 318.6
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#76248B
secondary
#68B753
accent
#E24666
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76248B

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

Preview Lab → · Contrast checker → · Palette generator →

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