#762482#762482

#762482 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.163 H 322.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#762482
RGBrgb(118, 36, 130)
HSLhsl(292, 57%, 33%)
HSVhsv(292, 72%, 51%)
CMYKcmyk(9.2%, 72.3%, 0%, 49%)
CIE-LABlab(31.17, 48.40, -35.62)
CIE-LCHlch(31.17, 60.10, 323.65°)
OKLaboklab(42.78% 0.1286 -0.0994)
OKLCHoklch(42.78% 0.163 322.3)
XYZxyz(12.1309, 6.7257, 21.7740)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762482 #308224
analogous
#472482 #762482 #82245F
triadic
#762482 #827624 #248276
tetradic
#762482 #824724 #308224 #245F82
square
#762482 #824724 #308224 #245F82
split-complementary
#762482 #5F8224 #248247
monochromatic
#1F0922 #4A1752 #762482 #A231B2 #BF51CF

Accessibility & contrast

On white

8.96
#762482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#762482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762482
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762482#FFFFFF#000000##FFFFFF
##7624821.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#783550
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762482;
/* rgb */ color: rgb(118, 36, 130);
/* oklch */ color: oklch(42.8% 0.163 322.3);
Tailwind
colors: {
  custom: {
    50: '#a167a7',
    500: '#762482',
    950: '#000000',
  },
}
SCSS
$custom: #762482;
$custom-light: #a167a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762482",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 292.34,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.16259,
    "h": 322.3
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#762482
secondary
#5CB34F
accent
#E0485B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762482

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

Preview Lab → · Contrast checker → · Palette generator →

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