#76268F#76268F

#76268F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.172 H 316.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#76268F
RGBrgb(118, 38, 143)
HSLhsl(286, 58%, 35%)
HSVhsv(286, 73%, 56%)
CMYKcmyk(17.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(32.31, 50.20, -41.87)
CIE-LCHlch(32.31, 65.37, 320.17°)
OKLaboklab(43.86% 0.1256 -0.1177)
OKLCHoklch(43.86% 0.172 316.8)
XYZxyz(13.1215, 7.2215, 26.6840)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76268F #3F8F26
analogous
#41268F #76268F #8F2673
triadic
#76268F #8F7626 #268F76
tetradic
#76268F #8F4126 #3F8F26 #26738F
square
#76268F #8F4126 #3F8F26 #26738F
split-complementary
#76268F #738F26 #268F41
monochromatic
#260C2E #4E195F #76268F #9E33BF #B75CD4

Accessibility & contrast

On white

8.59
#76268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#76268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76268F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76268F#FFFFFF#000000##FFFFFF
##76268F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.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: #76268f;
/* rgb */ color: rgb(118, 38, 143);
/* oklch */ color: oklch(43.9% 0.172 316.8);
Tailwind
colors: {
  custom: {
    50: '#a168b0',
    500: '#76268f',
    950: '#000000',
  },
}
SCSS
$custom: #76268f;
$custom-light: #a168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76268f",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 285.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.17216,
    "h": 316.8
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#76268F
secondary
#6FB958
accent
#E1476B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #76268F

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

Preview Lab → · Contrast checker → · Palette generator →

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