#762280#762280

#762280 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.163 H 323.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#762280
RGBrgb(118, 34, 128)
HSLhsl(294, 58%, 32%)
HSVhsv(294, 73%, 50%)
CMYKcmyk(7.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(30.77, 48.81, -35.01)
CIE-LCHlch(30.77, 60.07, 324.35°)
OKLaboklab(42.45% 0.1309 -0.0976)
OKLCHoklch(42.45% 0.163 323.3)
XYZxyz(11.9392, 6.5548, 21.0542)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762280 #2C8022
analogous
#472280 #762280 #80225B
triadic
#762280 #807622 #228076
tetradic
#762280 #804722 #2C8022 #225B80
square
#762280 #804722 #2C8022 #225B80
split-complementary
#762280 #5B8022 #228047
monochromatic
#1D081F #491550 #762280 #A32FB0 #C24DD0

Accessibility & contrast

On white

9.09
#762280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#762280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762280
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762280#FFFFFF#000000##FFFFFF
##7622801.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014283
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#78334F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762280;
/* rgb */ color: rgb(118, 34, 128);
/* oklch */ color: oklch(42.4% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#a166a5',
    500: '#762280',
    950: '#000000',
  },
}
SCSS
$custom: #762280;
$custom-light: #a166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#762280",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 293.617,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.16328,
    "h": 323.3
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#762280
secondary
#56B24B
accent
#E14757
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762280

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

Preview Lab → · Contrast checker → · Palette generator →

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