#76288F#76288F

#76288F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.170 H 316.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#76288F
RGBrgb(118, 40, 143)
HSLhsl(285, 56%, 36%)
HSVhsv(285, 72%, 56%)
CMYKcmyk(17.5%, 72%, 0%, 43.9%)
CIE-LABlab(32.60, 49.38, -41.40)
CIE-LCHlch(32.60, 64.44, 320.02°)
OKLaboklab(44.06% 0.1235 -0.1164)
OKLCHoklch(44.06% 0.17 316.7)
XYZxyz(13.1872, 7.3528, 26.7059)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76288F #418F28
analogous
#42288F #76288F #8F2874
triadic
#76288F #8F7628 #288F76
tetradic
#76288F #8F4228 #418F28 #28748F
square
#76288F #8F4228 #418F28 #28748F
split-complementary
#76288F #748F28 #288F42
monochromatic
#270D2F #4F1B5F #76288F #9D35BF #B65FD2

Accessibility & contrast

On white

8.50
#76288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#76288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76288F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76288F#FFFFFF#000000##FFFFFF
##76288F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#753D59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #76288f;
/* rgb */ color: rgb(118, 40, 143);
/* oklch */ color: oklch(44.1% 0.170 316.7);
Tailwind
colors: {
  custom: {
    50: '#a169b0',
    500: '#76288f',
    950: '#000000',
  },
}
SCSS
$custom: #76288f;
$custom-light: #a169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76288f",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 285.437,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.16968,
    "h": 316.7
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#76288F
secondary
#72B85B
accent
#E0486D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76288F

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

Preview Lab → · Contrast checker → · Palette generator →

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