#76256C#76256C

#76256C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 333.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#76256C
RGBrgb(118, 37, 108)
HSLhsl(307, 52%, 30%)
HSVhsv(307, 69%, 46%)
CMYKcmyk(0%, 68.6%, 8.5%, 53.7%)
CIE-LABlab(30.05, 43.96, -23.48)
CIE-LCHlch(30.05, 49.84, 331.89°)
OKLaboklab(41.56% 0.1267 -0.0643)
OKLCHoklch(41.56% 0.142 333.1)
XYZxyz(10.8396, 6.2583, 14.8215)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76256C #25762F
analogous
#572576 #76256C #762544
triadic
#76256C #6C7625 #256C76
tetradic
#76256C #765725 #25762F #254476
square
#76256C #765725 #25762F #254476
split-complementary
#76256C #447625 #257657
monochromatic
#190817 #471641 #76256C #A53497 #C74EB8

Accessibility & contrast

On white

9.33
#76256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#76256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76256C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76256C#FFFFFF#000000##FFFFFF
##76256C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#7B2C45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76256c;
/* rgb */ color: rgb(118, 37, 108);
/* oklch */ color: oklch(41.6% 0.142 333.1);
Tailwind
colors: {
  custom: {
    50: '#a06696',
    500: '#76256c',
    950: '#000000',
  },
}
SCSS
$custom: #76256c;
$custom-light: #a06696;
$custom-dark: #000000;
JSON
{
  "hex": "#76256c",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 307.407,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.14206,
    "h": 333.1
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#76256C
secondary
#4EA959
accent
#DC5E4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #76256C

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

Preview Lab → · Contrast checker → · Palette generator →

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