#76238E#76238E

#76238E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 317.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#76238E
RGBrgb(118, 35, 142)
HSLhsl(287, 60%, 35%)
HSVhsv(287, 75%, 56%)
CMYKcmyk(16.9%, 75.4%, 0%, 44.3%)
CIE-LABlab(31.82, 51.18, -42.03)
CIE-LCHlch(31.82, 66.22, 320.60°)
OKLaboklab(43.49% 0.1288 -0.1182)
OKLCHoklch(43.49% 0.175 317.4)
XYZxyz(12.9540, 7.0072, 26.2561)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76238E #3B8E23
analogous
#41238E #76238E #8E2371
triadic
#76238E #8E7623 #238E76
tetradic
#76238E #8E4123 #3B8E23 #23718E
square
#76238E #8E4123 #3B8E23 #23718E
split-complementary
#76238E #718E23 #238E41
monochromatic
#240B2C #4D175D #76238E #9F2FBF #B956D5

Accessibility & contrast

On white

8.74
#76238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#76238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76238E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76238E#FFFFFF#000000##FFFFFF
##76238E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#753957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76238e;
/* rgb */ color: rgb(118, 35, 142);
/* oklch */ color: oklch(43.5% 0.175 317.4);
Tailwind
colors: {
  custom: {
    50: '#a167b0',
    500: '#76238e',
    950: '#000000',
  },
}
SCSS
$custom: #76238e;
$custom-light: #a167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76238e",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 286.542,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.17477,
    "h": 317.4
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#76238E
secondary
#6AB953
accent
#E44468
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #76238E

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

Preview Lab → · Contrast checker → · Palette generator →

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