#76368B#76368B

#76368B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.5% C 0.146 H 317.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#76368B
RGBrgb(118, 54, 139)
HSLhsl(285, 44%, 38%)
HSVhsv(285, 61%, 55%)
CMYKcmyk(15.1%, 61.2%, 0%, 45.5%)
CIE-LABlab(34.71, 41.97, -35.56)
CIE-LCHlch(34.71, 55.02, 319.72°)
OKLaboklab(45.51% 0.1066 -0.0994)
OKLCHoklch(45.51% 0.146 317)
XYZxyz(13.4499, 8.3545, 25.3252)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76368B #4B8B36
analogous
#4B368B #76368B #8B3676
triadic
#76368B #8B7636 #368B76
tetradic
#76368B #8B4B36 #4B8B36 #36768B
square
#76368B #8B4B36 #4B8B36 #36768B
split-complementary
#76368B #768B36 #368B4B
monochromatic
#2B1433 #51255F #76368B #9B47B7 #B373C9

Accessibility & contrast

On white

7.86
#76368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#76368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76368B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76368B#FFFFFF#000000##FFFFFF
##76368B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#75445B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #76368b;
/* rgb */ color: rgb(118, 54, 139);
/* oklch */ color: oklch(45.5% 0.146 317.0);
Tailwind
colors: {
  custom: {
    50: '#a071ad',
    500: '#76368b',
    950: '#000000',
  },
}
SCSS
$custom: #76368b;
$custom-light: #a071ad;
$custom-dark: #000000;
JSON
{
  "hex": "#76368b",
  "rgb": {
    "r": 118,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 285.176,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45507,
    "c": 0.14572,
    "h": 317
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#76368B
secondary
#7DB16C
accent
#D45474
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #76368B

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

Preview Lab → · Contrast checker → · Palette generator →

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