#76237B#76237B

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

Color values

HEX#76237B
RGBrgb(118, 35, 123)
HSLhsl(297, 56%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(4.1%, 71.5%, 0%, 51.8%)
CIE-LABlab(30.60, 47.47, -32.14)
CIE-LCHlch(30.60, 57.33, 325.90°)
OKLaboklab(42.23% 0.1299 -0.0893)
OKLCHoklch(42.23% 0.158 325.5)
XYZxyz(11.6471, 6.4844, 19.3732)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76237B #287B23
analogous
#4A237B #76237B #7B2354
triadic
#76237B #7B7623 #237B76
tetradic
#76237B #7B4A23 #287B23 #23547B
square
#76237B #7B4A23 #287B23 #23547B
split-complementary
#76237B #547B23 #237B4A
monochromatic
#1B081C #48154B #76237B #A431AB #C54CCC

Accessibility & contrast

On white

9.14
#76237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#76237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76237B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76237B#FFFFFF#000000##FFFFFF
##76237B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417E
Deuteranopia (green-blind)
#354C79
Tritanopia (blue-blind)
#79314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76237b;
/* rgb */ color: rgb(118, 35, 123);
/* oklch */ color: oklch(42.2% 0.158 325.5);
Tailwind
colors: {
  custom: {
    50: '#a066a1',
    500: '#76237b',
    950: '#000000',
  },
}
SCSS
$custom: #76237b;
$custom-light: #a066a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76237b",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 296.591,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.15761,
    "h": 325.5
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#76237B
secondary
#52AE4C
accent
#DF4951
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76237B

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

Preview Lab → · Contrast checker → · Palette generator →

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