#76308B#76308B

#76308B is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.155 H 317.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#76308B
RGBrgb(118, 48, 139)
HSLhsl(286, 49%, 37%)
HSVhsv(286, 65%, 55%)
CMYKcmyk(15.1%, 65.5%, 0%, 45.5%)
CIE-LABlab(33.63, 44.94, -37.29)
CIE-LCHlch(33.63, 58.40, 320.31°)
OKLaboklab(44.72% 0.1143 -0.1044)
OKLCHoklch(44.72% 0.155 317.6)
XYZxyz(13.1877, 7.8301, 25.2378)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76308B #458B30
analogous
#49308B #76308B #8B3073
triadic
#76308B #8B7630 #308B76
tetradic
#76308B #8B4930 #458B30 #30738B
square
#76308B #8B4930 #458B30 #30738B
split-complementary
#76308B #738B30 #308B49
monochromatic
#291130 #4F205E #76308B #9D40B8 #B56ACC

Accessibility & contrast

On white

8.18
#76308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76308B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76308B#FFFFFF#000000##FFFFFF
##76308B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8E
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#754059
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #76308b;
/* rgb */ color: rgb(118, 48, 139);
/* oklch */ color: oklch(44.7% 0.155 317.6);
Tailwind
colors: {
  custom: {
    50: '#a06dad',
    500: '#76308b',
    950: '#000000',
  },
}
SCSS
$custom: #76308b;
$custom-light: #a06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#76308b",
  "rgb": {
    "r": 118,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 286.154,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.15483,
    "h": 317.6
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#76308B
secondary
#76B364
accent
#D8506F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #76308B

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

Preview Lab → · Contrast checker → · Palette generator →

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