#76258C#76258C

#76258C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.171 H 318.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#76258C
RGBrgb(118, 37, 140)
HSLhsl(287, 58%, 35%)
HSVhsv(287, 74%, 55%)
CMYKcmyk(15.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(31.96, 49.99, -40.57)
CIE-LCHlch(31.96, 64.38, 320.94°)
OKLaboklab(43.55% 0.1269 -0.1139)
OKLCHoklch(43.55% 0.171 318.1)
XYZxyz(12.8657, 7.0687, 25.4926)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76258C #3B8C25
analogous
#42258C #76258C #8C256F
triadic
#76258C #8C7625 #258C76
tetradic
#76258C #8C4225 #3B8C25 #256F8C
square
#76258C #8C4225 #3B8C25 #256F8C
split-complementary
#76258C #6F8C25 #258C42
monochromatic
#240B2B #4D185C #76258C #9F32BC #B958D3

Accessibility & contrast

On white

8.70
#76258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76258C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76258C#FFFFFF#000000##FFFFFF
##76258C1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#753A56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76258c;
/* rgb */ color: rgb(118, 37, 140);
/* oklch */ color: oklch(43.5% 0.171 318.1);
Tailwind
colors: {
  custom: {
    50: '#a168ae',
    500: '#76258c',
    950: '#000000',
  },
}
SCSS
$custom: #76258c;
$custom-light: #a168ae;
$custom-dark: #000000;
JSON
{
  "hex": "#76258c",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 287.184,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.17055,
    "h": 318.1
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#76258C
secondary
#6AB855
accent
#E14668
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76258C

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

Preview Lab → · Contrast checker → · Palette generator →

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