#762080#762080

#762080 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.166 H 323.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#762080
RGBrgb(118, 32, 128)
HSLhsl(294, 60%, 31%)
HSVhsv(294, 75%, 50%)
CMYKcmyk(7.8%, 75%, 0%, 49.8%)
CIE-LABlab(30.51, 49.56, -35.44)
CIE-LCHlch(30.51, 60.93, 324.44°)
OKLaboklab(42.26% 0.1329 -0.0989)
OKLCHoklch(42.26% 0.166 323.4)
XYZxyz(11.8836, 6.4438, 21.0357)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762080 #2A8020
analogous
#462080 #762080 #80205A
triadic
#762080 #807620 #208076
tetradic
#762080 #804620 #2A8020 #205A80
square
#762080 #804620 #2A8020 #205A80
split-complementary
#762080 #5A8020 #208046
monochromatic
#1C081E #49144F #762080 #A32CB1 #C349D1

Accessibility & contrast

On white

9.18
#762080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#762080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762080
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762080#FFFFFF#000000##FFFFFF
##7620801.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#78314E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762080;
/* rgb */ color: rgb(118, 32, 128);
/* oklch */ color: oklch(42.3% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a165a5',
    500: '#762080',
    950: '#000000',
  },
}
SCSS
$custom: #762080;
$custom-light: #a165a5;
$custom-dark: #000000;
JSON
{
  "hex": "#762080",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 293.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.16566,
    "h": 323.4
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#762080
secondary
#54B349
accent
#E34555
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762080

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

Preview Lab → · Contrast checker → · Palette generator →

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