#76317E#76317E

#76317E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.0% C 0.140 H 323.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#76317E
RGBrgb(118, 49, 126)
HSLhsl(294, 44%, 34%)
HSVhsv(294, 61%, 49%)
CMYKcmyk(6.3%, 61.1%, 0%, 50.6%)
CIE-LABlab(33.04, 41.77, -30.16)
CIE-LCHlch(33.04, 51.52, 324.17°)
OKLaboklab(44.05% 0.1126 -0.0836)
OKLCHoklch(44.05% 0.14 323.4)
XYZxyz(12.3351, 7.5552, 20.5432)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76317E #397E31
analogous
#50317E #76317E #7E3160
triadic
#76317E #7E7631 #317E76
tetradic
#76317E #7E5031 #397E31 #31607E
square
#76317E #7E5031 #397E31 #31607E
split-complementary
#76317E #607E31 #317E50
monochromatic
#230F26 #4D2052 #76317E #9F42AA #BA66C3

Accessibility & contrast

On white

8.36
#76317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76317E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76317E#FFFFFF#000000##FFFFFF
##76317E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#3C517C
Tritanopia (blue-blind)
#783C53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #76317e;
/* rgb */ color: rgb(118, 49, 126);
/* oklch */ color: oklch(44.0% 0.140 323.4);
Tailwind
colors: {
  custom: {
    50: '#a06ea4',
    500: '#76317e',
    950: '#000000',
  },
}
SCSS
$custom: #76317e;
$custom-light: #a06ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#76317e",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 293.766,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.1403,
    "h": 323.4
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#76317E
secondary
#68AB60
accent
#D45461
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #76317E

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

Preview Lab → · Contrast checker → · Palette generator →

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