#76257F#76257F

#76257F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 323.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#76257F
RGBrgb(118, 37, 127)
HSLhsl(294, 55%, 32%)
HSVhsv(294, 71%, 50%)
CMYKcmyk(7.1%, 70.9%, 0%, 50.2%)
CIE-LABlab(31.13, 47.42, -33.81)
CIE-LCHlch(31.13, 58.24, 324.51°)
OKLaboklab(42.69% 0.1276 -0.0942)
OKLCHoklch(42.69% 0.159 323.6)
XYZxyz(11.9632, 6.7077, 20.7391)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76257F #2E7F25
analogous
#49257F #76257F #7F255B
triadic
#76257F #7F7625 #257F76
tetradic
#76257F #7F4925 #2E7F25 #255B7F
square
#76257F #7F4925 #2E7F25 #255B7F
split-complementary
#76257F #5B7F25 #257F49
monochromatic
#1E0920 #4A1750 #76257F #A233AE #C052CD

Accessibility & contrast

On white

8.97
#76257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#76257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76257F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76257F#FFFFFF#000000##FFFFFF
##76257F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4382
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#78344F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76257f;
/* rgb */ color: rgb(118, 37, 127);
/* oklch */ color: oklch(42.7% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#a067a4',
    500: '#76257f',
    950: '#000000',
  },
}
SCSS
$custom: #76257f;
$custom-light: #a067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76257f",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 294,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.15859,
    "h": 323.6
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#76257F
secondary
#59B14F
accent
#DE4A58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76257F

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

Preview Lab → · Contrast checker → · Palette generator →

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