#76268D#76268D

#76268D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.170 H 317.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#76268D
RGBrgb(118, 38, 141)
HSLhsl(287, 58%, 35%)
HSVhsv(287, 73%, 55%)
CMYKcmyk(16.3%, 73%, 0%, 44.7%)
CIE-LABlab(32.17, 49.79, -40.86)
CIE-LCHlch(32.17, 64.41, 320.63°)
OKLaboklab(43.72% 0.1258 -0.1148)
OKLCHoklch(43.72% 0.17 317.6)
XYZxyz(12.9714, 7.1614, 25.8932)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76268D #3D8D26
analogous
#42268D #76268D #8D2670
triadic
#76268D #8D7626 #268D76
tetradic
#76268D #8D4226 #3D8D26 #26708D
square
#76268D #8D4226 #3D8D26 #26708D
split-complementary
#76268D #708D26 #268D42
monochromatic
#250C2D #4E195D #76268D #9E33BD #B85BD3

Accessibility & contrast

On white

8.63
#76268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#76268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76268D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76268D#FFFFFF#000000##FFFFFF
##76268D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#753B57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76268d;
/* rgb */ color: rgb(118, 38, 141);
/* oklch */ color: oklch(43.7% 0.170 317.6);
Tailwind
colors: {
  custom: {
    50: '#a168af',
    500: '#76268d',
    950: '#000000',
  },
}
SCSS
$custom: #76268d;
$custom-light: #a168af;
$custom-dark: #000000;
JSON
{
  "hex": "#76268d",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 286.602,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.17027,
    "h": 317.6
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#76268D
secondary
#6DB857
accent
#E14769
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76268D

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

Preview Lab → · Contrast checker → · Palette generator →

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