#761871#761871

#761871 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.162 H 330.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#761871
RGBrgb(118, 24, 113)
HSLhsl(303, 66%, 28%)
HSVhsv(303, 80%, 46%)
CMYKcmyk(0%, 79.7%, 4.2%, 53.7%)
CIE-LABlab(28.64, 49.61, -28.91)
CIE-LCHlch(28.64, 57.42, 329.77°)
OKLaboklab(40.63% 0.1409 -0.0798)
OKLCHoklch(40.63% 0.162 330.5)
XYZxyz(10.7785, 5.6979, 16.1517)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761871 #18761D
analogous
#4C1876 #761871 #761842
triadic
#761871 #717618 #187176
tetradic
#761871 #764C18 #18761D #184276
square
#761871 #764C18 #18761D #184276
split-complementary
#761871 #427618 #18764C
monochromatic
#190518 #430E40 #761871 #A922A2 #D533CD

Accessibility & contrast

On white

9.82
#761871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#761871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761871
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761871#FFFFFF#000000##FFFFFF
##7618711.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#7B2544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #761871;
/* rgb */ color: rgb(118, 24, 113);
/* oklch */ color: oklch(40.6% 0.162 330.5);
Tailwind
colors: {
  custom: {
    50: '#a1619a',
    500: '#761871',
    950: '#000000',
  },
}
SCSS
$custom: #761871;
$custom-light: #a1619a;
$custom-dark: #000000;
JSON
{
  "hex": "#761871",
  "rgb": {
    "r": 118,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 303.191,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.16197,
    "h": 330.5
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#761871
secondary
#3FAB44
accent
#E9483F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #761871

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

Preview Lab → · Contrast checker → · Palette generator →

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