#76248C#76248C

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

Color values

HEX#76248C
RGBrgb(118, 36, 140)
HSLhsl(287, 59%, 35%)
HSVhsv(287, 74%, 55%)
CMYKcmyk(15.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(31.82, 50.39, -40.80)
CIE-LCHlch(31.82, 64.83, 321.00°)
OKLaboklab(43.45% 0.128 -0.1146)
OKLCHoklch(43.45% 0.172 318.2)
XYZxyz(12.8351, 7.0073, 25.4823)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76248C #3A8C24
analogous
#42248C #76248C #8C246E
triadic
#76248C #8C7624 #248C76
tetradic
#76248C #8C4224 #3A8C24 #246E8C
square
#76248C #8C4224 #3A8C24 #246E8C
split-complementary
#76248C #6E8C24 #248C42
monochromatic
#240B2B #4D175B #76248C #9F31BD #B957D4

Accessibility & contrast

On white

8.74
#76248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76248C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76248C#FFFFFF#000000##FFFFFF
##76248C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#294D8A
Tritanopia (blue-blind)
#753956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76248c;
/* rgb */ color: rgb(118, 36, 140);
/* oklch */ color: oklch(43.4% 0.172 318.2);
Tailwind
colors: {
  custom: {
    50: '#a167ae',
    500: '#76248c',
    950: '#000000',
  },
}
SCSS
$custom: #76248c;
$custom-light: #a167ae;
$custom-dark: #000000;
JSON
{
  "hex": "#76248c",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 287.308,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.17175,
    "h": 318.2
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#76248C
secondary
#69B854
accent
#E24667
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76248C

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

Preview Lab → · Contrast checker → · Palette generator →

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