#76317D#76317D

#76317D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.139 H 323.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#76317D
RGBrgb(118, 49, 125)
HSLhsl(294, 44%, 34%)
HSVhsv(294, 61%, 49%)
CMYKcmyk(5.6%, 60.8%, 0%, 51%)
CIE-LABlab(32.98, 41.57, -29.62)
CIE-LCHlch(32.98, 51.05, 324.53°)
OKLaboklab(43.99% 0.1126 -0.0821)
OKLCHoklch(43.99% 0.139 323.9)
XYZxyz(12.2709, 7.5295, 20.2051)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76317D #387D31
analogous
#50317D #76317D #7D315E
triadic
#76317D #7D7631 #317D76
tetradic
#76317D #7D5031 #387D31 #315E7D
square
#76317D #7D5031 #387D31 #315E7D
split-complementary
#76317D #5E7D31 #317D50
monochromatic
#230F25 #4C2051 #76317D #A042A9 #BA66C3

Accessibility & contrast

On white

8.38
#76317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#76317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76317D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76317D#FFFFFF#000000##FFFFFF
##76317D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#3D507B
Tritanopia (blue-blind)
#783C52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #76317d;
/* rgb */ color: rgb(118, 49, 125);
/* oklch */ color: oklch(44.0% 0.139 323.9);
Tailwind
colors: {
  custom: {
    50: '#a06da3',
    500: '#76317d',
    950: '#000000',
  },
}
SCSS
$custom: #76317d;
$custom-light: #a06da3;
$custom-dark: #000000;
JSON
{
  "hex": "#76317d",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 294.474,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.13931,
    "h": 323.9
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#76317D
secondary
#66AA60
accent
#D35460
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76317D

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

Preview Lab → · Contrast checker → · Palette generator →

#76317D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva