#76258F#76258F

#76258F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.173 H 316.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#76258F
RGBrgb(118, 37, 143)
HSLhsl(286, 59%, 35%)
HSVhsv(286, 74%, 56%)
CMYKcmyk(17.5%, 74.1%, 0%, 43.9%)
CIE-LABlab(32.16, 50.60, -42.10)
CIE-LCHlch(32.16, 65.82, 320.24°)
OKLaboklab(43.76% 0.1266 -0.1184)
OKLCHoklch(43.76% 0.173 316.9)
XYZxyz(13.0900, 7.1584, 26.6735)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76258F #3E8F25
analogous
#41258F #76258F #8F2573
triadic
#76258F #8F7625 #258F76
tetradic
#76258F #8F4125 #3E8F25 #25738F
square
#76258F #8F4125 #3E8F25 #25738F
split-complementary
#76258F #738F25 #258F41
monochromatic
#260C2E #4E185E #76258F #9E32C0 #B75AD4

Accessibility & contrast

On white

8.64
#76258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#76258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76258F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76258F#FFFFFF#000000##FFFFFF
##76258F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#753B58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76258f;
/* rgb */ color: rgb(118, 37, 143);
/* oklch */ color: oklch(43.8% 0.173 316.9);
Tailwind
colors: {
  custom: {
    50: '#a168b0',
    500: '#76258f',
    950: '#000000',
  },
}
SCSS
$custom: #76258f;
$custom-light: #a168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76258f",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 285.849,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.17337,
    "h": 316.9
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#76258F
secondary
#6EB957
accent
#E2466B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #76258F

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

Preview Lab → · Contrast checker → · Palette generator →

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