#76258B#76258B

#76258B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.170 H 318.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#76258B
RGBrgb(118, 37, 139)
HSLhsl(288, 58%, 35%)
HSVhsv(288, 73%, 55%)
CMYKcmyk(15.1%, 73.4%, 0%, 45.5%)
CIE-LABlab(31.90, 49.79, -40.06)
CIE-LCHlch(31.90, 63.90, 321.18°)
OKLaboklab(43.48% 0.127 -0.1124)
OKLCHoklch(43.48% 0.17 318.5)
XYZxyz(12.7923, 7.0394, 25.1060)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76258B #3A8B25
analogous
#43258B #76258B #8B256D
triadic
#76258B #8B7625 #258B76
tetradic
#76258B #8B4325 #3A8B25 #256D8B
square
#76258B #8B4325 #3A8B25 #256D8B
split-complementary
#76258B #6D8B25 #258B43
monochromatic
#240B2A #4D185B #76258B #9F32BB #B958D3

Accessibility & contrast

On white

8.72
#76258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#76258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76258B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76258B#FFFFFF#000000##FFFFFF
##76258B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#763956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76258b;
/* rgb */ color: rgb(118, 37, 139);
/* oklch */ color: oklch(43.5% 0.170 318.5);
Tailwind
colors: {
  custom: {
    50: '#a168ad',
    500: '#76258b',
    950: '#000000',
  },
}
SCSS
$custom: #76258b;
$custom-light: #a168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76258b",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 287.647,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.16962,
    "h": 318.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#76258B
secondary
#69B755
accent
#E14766
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76258B

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

Preview Lab → · Contrast checker → · Palette generator →

#76258B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva