#761B8D#761B8D

#761B8D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.182 H 318.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#761B8D
RGBrgb(118, 27, 141)
HSLhsl(288, 68%, 33%)
HSVhsv(288, 81%, 55%)
CMYKcmyk(16.3%, 80.9%, 0%, 44.7%)
CIE-LABlab(30.78, 53.77, -43.09)
CIE-LCHlch(30.78, 68.91, 321.29°)
OKLaboklab(42.73% 0.1361 -0.1212)
OKLCHoklch(42.73% 0.182 318.3)
XYZxyz(12.6702, 6.5591, 25.7928)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761B8D #328D1B
analogous
#3D1B8D #761B8D #8D1B6B
triadic
#761B8D #8D761B #1B8D76
tetradic
#761B8D #8D3D1B #328D1B #1B6B8D
square
#761B8D #8D3D1B #328D1B #1B6B8D
split-complementary
#761B8D #6B8D1B #1B8D3D
monochromatic
#200726 #4B115A #761B8D #A125C0 #BE47DC

Accessibility & contrast

On white

9.08
#761B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#761B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761B8D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761B8D#FFFFFF#000000##FFFFFF
##761B8D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#214B8B
Tritanopia (blue-blind)
#753554
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #761b8d;
/* rgb */ color: rgb(118, 27, 141);
/* oklch */ color: oklch(42.7% 0.182 318.3);
Tailwind
colors: {
  custom: {
    50: '#a164af',
    500: '#761b8d',
    950: '#000000',
  },
}
SCSS
$custom: #761b8d;
$custom-light: #a164af;
$custom-dark: #000000;
JSON
{
  "hex": "#761b8d",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 287.895,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.18229,
    "h": 318.3
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#761B8D
secondary
#5EBD46
accent
#EB3D60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761B8D

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

Preview Lab → · Contrast checker → · Palette generator →

#761B8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva