#76237D#76237D

#76237D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.159 H 324.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#76237D
RGBrgb(118, 35, 125)
HSLhsl(295, 56%, 31%)
HSVhsv(295, 72%, 49%)
CMYKcmyk(5.6%, 72%, 0%, 51%)
CIE-LABlab(30.72, 47.85, -33.21)
CIE-LCHlch(30.72, 58.24, 325.24°)
OKLaboklab(42.36% 0.1299 -0.0924)
OKLCHoklch(42.36% 0.159 324.6)
XYZxyz(11.7736, 6.5350, 20.0393)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76237D #2A7D23
analogous
#49237D #76237D #7D2357
triadic
#76237D #7D7623 #237D76
tetradic
#76237D #7D4923 #2A7D23 #23577D
square
#76237D #7D4923 #2A7D23 #23577D
split-complementary
#76237D #577D23 #237D49
monochromatic
#1C081D #49164D #76237D #A330AD #C34DCD

Accessibility & contrast

On white

9.10
#76237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#76237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76237D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76237D#FFFFFF#000000##FFFFFF
##76237D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#78324D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76237d;
/* rgb */ color: rgb(118, 35, 125);
/* oklch */ color: oklch(42.4% 0.159 324.6);
Tailwind
colors: {
  custom: {
    50: '#a166a3',
    500: '#76237d',
    950: '#000000',
  },
}
SCSS
$custom: #76237d;
$custom-light: #a166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76237d",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 295.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.15937,
    "h": 324.6
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#76237D
secondary
#54AF4C
accent
#E04854
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76237D

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

Preview Lab → · Contrast checker → · Palette generator →

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