#762791#762791

#762791 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.173 H 316.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#762791
RGBrgb(118, 39, 145)
HSLhsl(285, 58%, 36%)
HSVhsv(285, 73%, 57%)
CMYKcmyk(18.6%, 73.1%, 0%, 43.1%)
CIE-LABlab(32.59, 50.21, -42.65)
CIE-LCHlch(32.59, 65.88, 319.65°)
OKLaboklab(44.1% 0.1243 -0.12)
OKLCHoklch(44.1% 0.173 316)
XYZxyz(13.3068, 7.3474, 27.4998)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762791 #429127
analogous
#412791 #762791 #912777
triadic
#762791 #917627 #279176
tetradic
#762791 #914127 #429127 #277791
square
#762791 #914127 #429127 #277791
split-complementary
#762791 #779127 #279141
monochromatic
#280D31 #4F1A61 #762791 #9D34C1 #B65FD4

Accessibility & contrast

On white

8.50
#762791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762791
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762791#FFFFFF#000000##FFFFFF
##7627911.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#264F8F
Tritanopia (blue-blind)
#743D59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762791;
/* rgb */ color: rgb(118, 39, 145);
/* oklch */ color: oklch(44.1% 0.173 316.0);
Tailwind
colors: {
  custom: {
    50: '#a169b2',
    500: '#762791',
    950: '#000000',
  },
}
SCSS
$custom: #762791;
$custom-light: #a169b2;
$custom-dark: #000000;
JSON
{
  "hex": "#762791",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 284.717,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.17284,
    "h": 316
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#762791
secondary
#73B95B
accent
#E1476E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762791

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

Preview Lab → · Contrast checker → · Palette generator →

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