#762988#762988

#762988 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 319.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#762988
RGBrgb(118, 41, 136)
HSLhsl(289, 54%, 35%)
HSVhsv(289, 70%, 53%)
CMYKcmyk(13.2%, 69.9%, 0%, 46.7%)
CIE-LABlab(32.29, 47.51, -37.57)
CIE-LCHlch(32.29, 60.57, 321.66°)
OKLaboklab(43.7% 0.1228 -0.1052)
OKLCHoklch(43.7% 0.162 319.4)
XYZxyz(12.7075, 7.2156, 24.0112)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762988 #3B8829
analogous
#472988 #762988 #88296A
triadic
#762988 #887629 #298876
tetradic
#762988 #884729 #3B8829 #296A88
square
#762988 #884729 #3B8829 #296A88
split-complementary
#762988 #6A8829 #298847
monochromatic
#240D2A #4D1B59 #762988 #9F37B7 #B95DCE

Accessibility & contrast

On white

8.60
#762988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762988
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762988#FFFFFF#000000##FFFFFF
##7629881.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478B
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#763A55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762988;
/* rgb */ color: rgb(118, 41, 136);
/* oklch */ color: oklch(43.7% 0.162 319.4);
Tailwind
colors: {
  custom: {
    50: '#a16aab',
    500: '#762988',
    950: '#000000',
  },
}
SCSS
$custom: #762988;
$custom-light: #a16aab;
$custom-dark: #000000;
JSON
{
  "hex": "#762988",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 288.632,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.437,
    "c": 0.16169,
    "h": 319.4
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#762988
secondary
#6AB459
accent
#DD4B66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762988

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

Preview Lab → · Contrast checker → · Palette generator →

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