#76268E#76268E

#76268E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 317.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#76268E
RGBrgb(118, 38, 142)
HSLhsl(286, 58%, 35%)
HSVhsv(286, 73%, 56%)
CMYKcmyk(16.9%, 73.2%, 0%, 44.3%)
CIE-LABlab(32.24, 49.99, -41.36)
CIE-LCHlch(32.24, 64.89, 320.40°)
OKLaboklab(43.79% 0.1257 -0.1163)
OKLCHoklch(43.79% 0.171 317.2)
XYZxyz(13.0461, 7.1913, 26.2868)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76268E #3E8E26
analogous
#42268E #76268E #8E2672
triadic
#76268E #8E7626 #268E76
tetradic
#76268E #8E4226 #3E8E26 #26728E
square
#76268E #8E4226 #3E8E26 #26728E
split-complementary
#76268E #728E26 #268E42
monochromatic
#260C2D #4E195E #76268E #9E33BE #B75BD3

Accessibility & contrast

On white

8.61
#76268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76268E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76268E#FFFFFF#000000##FFFFFF
##76268E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#753B58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #76268e;
/* rgb */ color: rgb(118, 38, 142);
/* oklch */ color: oklch(43.8% 0.171 317.2);
Tailwind
colors: {
  custom: {
    50: '#a168b0',
    500: '#76268e',
    950: '#000000',
  },
}
SCSS
$custom: #76268e;
$custom-light: #a168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76268e",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 286.154,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.17121,
    "h": 317.2
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#76268E
secondary
#6EB858
accent
#E1476A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76268E

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

Preview Lab → · Contrast checker → · Palette generator →

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