#76286D#76286D

#76286D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.139 H 332.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#76286D
RGBrgb(118, 40, 109)
HSLhsl(307, 49%, 31%)
HSVhsv(307, 66%, 46%)
CMYKcmyk(0%, 66.1%, 7.6%, 53.7%)
CIE-LABlab(30.58, 42.82, -23.30)
CIE-LCHlch(30.58, 48.75, 331.45°)
OKLaboklab(41.96% 0.123 -0.0638)
OKLCHoklch(41.96% 0.139 332.6)
XYZxyz(10.9903, 6.4741, 15.1358)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76286D #287631
analogous
#582876 #76286D #762846
triadic
#76286D #6D7628 #286D76
tetradic
#76286D #765828 #287631 #284676
square
#76286D #765828 #287631 #284676
split-complementary
#76286D #467628 #287658
monochromatic
#1B0919 #481943 #76286D #A43797 #C554B8

Accessibility & contrast

On white

9.15
#76286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#76286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76286D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76286D#FFFFFF#000000##FFFFFF
##76286D1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#7B2F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76286d;
/* rgb */ color: rgb(118, 40, 109);
/* oklch */ color: oklch(42.0% 0.139 332.6);
Tailwind
colors: {
  custom: {
    50: '#a06897',
    500: '#76286d',
    950: '#000000',
  },
}
SCSS
$custom: #76286d;
$custom-light: #a06897;
$custom-dark: #000000;
JSON
{
  "hex": "#76286d",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 306.923,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.13855,
    "h": 332.6
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#76286D
secondary
#52A85C
accent
#D95F4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #76286D

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

Preview Lab → · Contrast checker → · Palette generator →

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