#761988#761988

#761988 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.180 H 320.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#761988
RGBrgb(118, 25, 136)
HSLhsl(290, 69%, 32%)
HSVhsv(290, 82%, 53%)
CMYKcmyk(13.2%, 81.6%, 0%, 46.7%)
CIE-LABlab(30.22, 53.43, -40.90)
CIE-LCHlch(30.22, 67.29, 322.57°)
OKLaboklab(42.22% 0.1385 -0.1148)
OKLCHoklch(42.22% 0.18 320.3)
XYZxyz(12.2622, 6.3250, 23.8627)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761988 #2B8819
analogous
#3F1988 #761988 #881963
triadic
#761988 #887619 #198876
tetradic
#761988 #883F19 #2B8819 #196388
square
#761988 #883F19 #2B8819 #196388
split-complementary
#761988 #638819 #19883F
monochromatic
#1C0621 #490F54 #761988 #A323BC #C240DC

Accessibility & contrast

On white

9.27
#761988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#761988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761988
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761988#FFFFFF#000000##FFFFFF
##7619881.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#763151
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #761988;
/* rgb */ color: rgb(118, 25, 136);
/* oklch */ color: oklch(42.2% 0.180 320.3);
Tailwind
colors: {
  custom: {
    50: '#a163ab',
    500: '#761988',
    950: '#000000',
  },
}
SCSS
$custom: #761988;
$custom-light: #a163ab;
$custom-dark: #000000;
JSON
{
  "hex": "#761988",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 290.27,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42224,
    "c": 0.17988,
    "h": 320.3
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#761988
secondary
#55BB41
accent
#EC3C59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #761988

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

Preview Lab → · Contrast checker → · Palette generator →

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