#762F91#762F91

#762F91 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.162 H 315.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#762F91
RGBrgb(118, 47, 145)
HSLhsl(283, 51%, 38%)
HSVhsv(283, 68%, 57%)
CMYKcmyk(18.6%, 67.6%, 0%, 43.1%)
CIE-LABlab(33.84, 46.70, -40.65)
CIE-LCHlch(33.84, 61.91, 318.96°)
OKLaboklab(44.99% 0.1154 -0.1142)
OKLCHoklch(44.99% 0.162 315.3)
XYZxyz(13.5977, 7.9294, 27.5968)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F91 #4A912F
analogous
#452F91 #762F91 #912F7B
triadic
#762F91 #91762F #2F9176
tetradic
#762F91 #91452F #4A912F #2F7B91
square
#762F91 #91452F #4A912F #2F7B91
split-complementary
#762F91 #7B912F #2F9145
monochromatic
#2B1135 #502063 #762F91 #9C3EBF #B46BCF

Accessibility & contrast

On white

8.12
#762F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#762F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F91
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F91#FFFFFF#000000##FFFFFF
##762F911.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#2D518F
Tritanopia (blue-blind)
#74425C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762f91;
/* rgb */ color: rgb(118, 47, 145);
/* oklch */ color: oklch(45.0% 0.162 315.3);
Tailwind
colors: {
  custom: {
    50: '#a16db2',
    500: '#762f91',
    950: '#000000',
  },
}
SCSS
$custom: #762f91;
$custom-light: #a16db2;
$custom-dark: #000000;
JSON
{
  "hex": "#762f91",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 283.469,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.16235,
    "h": 315.3
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#762F91
secondary
#7CB665
accent
#DB4D74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762F91

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

Preview Lab → · Contrast checker → · Palette generator →

#762F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva