#76237F#76237F

#76237F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.161 H 323.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#76237F
RGBrgb(118, 35, 127)
HSLhsl(294, 57%, 32%)
HSVhsv(294, 72%, 50%)
CMYKcmyk(7.1%, 72.4%, 0%, 50.2%)
CIE-LABlab(30.85, 48.23, -34.27)
CIE-LCHlch(30.85, 59.16, 324.61°)
OKLaboklab(42.48% 0.1298 -0.0955)
OKLCHoklch(42.48% 0.161 323.7)
XYZxyz(11.9027, 6.5866, 20.7190)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76237F #2C7F23
analogous
#48237F #76237F #7F235A
triadic
#76237F #7F7623 #237F76
tetradic
#76237F #7F4823 #2C7F23 #235A7F
square
#76237F #7F4823 #2C7F23 #235A7F
split-complementary
#76237F #5A7F23 #237F48
monochromatic
#1D091F #49164F #76237F #A330AF #C24ECE

Accessibility & contrast

On white

9.06
#76237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#76237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76237F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76237F#FFFFFF#000000##FFFFFF
##76237F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#78334E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #76237f;
/* rgb */ color: rgb(118, 35, 127);
/* oklch */ color: oklch(42.5% 0.161 323.7);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#76237f',
    950: '#000000',
  },
}
SCSS
$custom: #76237f;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76237f",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 294.13,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.16115,
    "h": 323.7
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#76237F
secondary
#56B14C
accent
#E04857
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76237F

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

Preview Lab → · Contrast checker → · Palette generator →

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