#76257E#76257E

#76257E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.158 H 324.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#76257E
RGBrgb(118, 37, 126)
HSLhsl(295, 55%, 32%)
HSVhsv(295, 71%, 49%)
CMYKcmyk(6.3%, 70.6%, 0%, 50.6%)
CIE-LABlab(31.07, 47.23, -33.28)
CIE-LCHlch(31.07, 57.78, 324.83°)
OKLaboklab(42.62% 0.1276 -0.0926)
OKLCHoklch(42.62% 0.158 324)
XYZxyz(11.8984, 6.6818, 20.3976)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76257E #2D7E25
analogous
#4A257E #76257E #7E255A
triadic
#76257E #7E7625 #257E76
tetradic
#76257E #7E4A25 #2D7E25 #255A7E
square
#76257E #7E4A25 #2D7E25 #255A7E
split-complementary
#76257E #5A7E25 #257E4A
monochromatic
#1D091F #4A174F #76257E #A233AD #C151CC

Accessibility & contrast

On white

8.99
#76257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76257E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76257E#FFFFFF#000000##FFFFFF
##76257E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#78344E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76257e;
/* rgb */ color: rgb(118, 37, 126);
/* oklch */ color: oklch(42.6% 0.158 324.0);
Tailwind
colors: {
  custom: {
    50: '#a067a4',
    500: '#76257e',
    950: '#000000',
  },
}
SCSS
$custom: #76257e;
$custom-light: #a067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76257e",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 294.607,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.15769,
    "h": 324
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#76257E
secondary
#57B04F
accent
#DE4A57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76257E

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

Preview Lab → · Contrast checker → · Palette generator →

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