#76286F#76286F

#76286F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 331.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#76286F
RGBrgb(118, 40, 111)
HSLhsl(305, 49%, 31%)
HSVhsv(305, 66%, 46%)
CMYKcmyk(0%, 66.1%, 5.9%, 53.7%)
CIE-LABlab(30.68, 43.17, -24.41)
CIE-LCHlch(30.68, 49.60, 330.52°)
OKLaboklab(42.07% 0.1232 -0.067)
OKLCHoklch(42.07% 0.14 331.5)
XYZxyz(11.0992, 6.5177, 15.7093)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76286F #28762F
analogous
#562876 #76286F #762848
triadic
#76286F #6F7628 #286F76
tetradic
#76286F #765628 #28762F #284876
square
#76286F #765628 #28762F #284876
split-complementary
#76286F #487628 #287656
monochromatic
#1B0919 #481944 #76286F #A4379A #C554BB

Accessibility & contrast

On white

9.12
#76286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#76286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76286F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76286F#FFFFFF#000000##FFFFFF
##76286F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#7B3047
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76286f;
/* rgb */ color: rgb(118, 40, 111);
/* oklch */ color: oklch(42.1% 0.140 331.5);
Tailwind
colors: {
  custom: {
    50: '#a06898',
    500: '#76286f',
    950: '#000000',
  },
}
SCSS
$custom: #76286f;
$custom-light: #a06898;
$custom-dark: #000000;
JSON
{
  "hex": "#76286f",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 305.385,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.14025,
    "h": 331.5
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#76286F
secondary
#52A859
accent
#D95B4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #76286F

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

Preview Lab → · Contrast checker → · Palette generator →

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