#761881#761881

#761881 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.175 H 323.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#761881
RGBrgb(118, 24, 129)
HSLhsl(294, 69%, 30%)
HSVhsv(294, 81%, 51%)
CMYKcmyk(8.5%, 81.4%, 0%, 49.4%)
CIE-LABlab(29.64, 52.43, -37.45)
CIE-LCHlch(29.64, 64.43, 324.46°)
OKLaboklab(41.66% 0.1401 -0.1047)
OKLCHoklch(41.66% 0.175 323.2)
XYZxyz(11.7599, 6.0905, 21.3208)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761881 #238118
analogous
#411881 #761881 #811858
triadic
#761881 #817618 #188176
tetradic
#761881 #814118 #238118 #185881
square
#761881 #814118 #238118 #185881
split-complementary
#761881 #588118 #188141
monochromatic
#18051A #470E4D #761881 #A522B5 #C939DA

Accessibility & contrast

On white

9.47
#761881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#761881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761881
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761881#FFFFFF#000000##FFFFFF
##7618811.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2B497F
Tritanopia (blue-blind)
#782D4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761881;
/* rgb */ color: rgb(118, 24, 129);
/* oklch */ color: oklch(41.7% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a162a6',
    500: '#761881',
    950: '#000000',
  },
}
SCSS
$custom: #761881;
$custom-light: #a162a6;
$custom-dark: #000000;
JSON
{
  "hex": "#761881",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 293.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.17492,
    "h": 323.2
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#761881
secondary
#4CB540
accent
#EB3C4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761881

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

Preview Lab → · Contrast checker → · Palette generator →

#761881 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva