#76237A#76237A

#76237A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.157 H 326.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#76237A
RGBrgb(118, 35, 122)
HSLhsl(297, 55%, 31%)
HSVhsv(297, 71%, 48%)
CMYKcmyk(3.3%, 71.3%, 0%, 52.2%)
CIE-LABlab(30.54, 47.29, -31.60)
CIE-LCHlch(30.54, 56.88, 326.24°)
OKLaboklab(42.17% 0.1299 -0.0877)
OKLCHoklch(42.17% 0.157 326)
XYZxyz(11.5849, 6.4595, 19.0452)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76237A #277A23
analogous
#4A237A #76237A #7A2352
triadic
#76237A #7A7623 #237A76
tetradic
#76237A #7A4A23 #277A23 #23527A
square
#76237A #7A4A23 #277A23 #23527A
split-complementary
#76237A #527A23 #237A4A
monochromatic
#1A081B #48154A #76237A #A431AA #C64CCC

Accessibility & contrast

On white

9.16
#76237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#76237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76237A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76237A#FFFFFF#000000##FFFFFF
##76237A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#364B78
Tritanopia (blue-blind)
#79314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76237a;
/* rgb */ color: rgb(118, 35, 122);
/* oklch */ color: oklch(42.2% 0.157 326.0);
Tailwind
colors: {
  custom: {
    50: '#a066a1',
    500: '#76237a',
    950: '#000000',
  },
}
SCSS
$custom: #76237a;
$custom-light: #a066a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76237a",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 297.241,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.15673,
    "h": 326
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#76237A
secondary
#51AD4C
accent
#DF4950
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #76237A

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

Preview Lab → · Contrast checker → · Palette generator →

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