#76308C#76308C

#76308C is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.156 H 317.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#76308C
RGBrgb(118, 48, 140)
HSLhsl(286, 49%, 37%)
HSVhsv(286, 66%, 55%)
CMYKcmyk(15.7%, 65.7%, 0%, 45.1%)
CIE-LABlab(33.69, 45.15, -37.81)
CIE-LCHlch(33.69, 58.89, 320.06°)
OKLaboklab(44.79% 0.1143 -0.1059)
OKLCHoklch(44.79% 0.156 317.2)
XYZxyz(13.2611, 7.8594, 25.6243)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76308C #468C30
analogous
#48308C #76308C #8C3074
triadic
#76308C #8C7630 #308C76
tetradic
#76308C #8C4830 #468C30 #30748C
square
#76308C #8C4830 #468C30 #30748C
split-complementary
#76308C #748C30 #308C48
monochromatic
#291131 #50205E #76308C #9C40BA #B56ACC

Accessibility & contrast

On white

8.17
#76308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#76308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76308C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76308C#FFFFFF#000000##FFFFFF
##76308C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B8F
Deuteranopia (green-blind)
#32518A
Tritanopia (blue-blind)
#754059
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #76308c;
/* rgb */ color: rgb(118, 48, 140);
/* oklch */ color: oklch(44.8% 0.156 317.2);
Tailwind
colors: {
  custom: {
    50: '#a06dae',
    500: '#76308c',
    950: '#000000',
  },
}
SCSS
$custom: #76308c;
$custom-light: #a06dae;
$custom-dark: #000000;
JSON
{
  "hex": "#76308c",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 285.652,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.15585,
    "h": 317.2
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#76308C
secondary
#77B364
accent
#D84F70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76308C

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

Preview Lab → · Contrast checker → · Palette generator →

#76308C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva