#762A8A#762A8A

#762A8A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 318.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#762A8A
RGBrgb(118, 42, 138)
HSLhsl(288, 53%, 35%)
HSVhsv(288, 70%, 54%)
CMYKcmyk(14.5%, 69.6%, 0%, 45.9%)
CIE-LABlab(32.58, 47.48, -38.35)
CIE-LCHlch(32.58, 61.04, 321.07°)
OKLaboklab(43.94% 0.1216 -0.1075)
OKLCHoklch(43.94% 0.162 318.5)
XYZxyz(12.8860, 7.3430, 24.7784)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A8A #3E8A2A
analogous
#462A8A #762A8A #8A2A6E
triadic
#762A8A #8A762A #2A8A76
tetradic
#762A8A #8A462A #3E8A2A #2A6E8A
square
#762A8A #8A462A #3E8A2A #2A6E8A
split-complementary
#762A8A #6E8A2A #2A8A46
monochromatic
#260D2C #4E1C5B #762A8A #9E38B9 #B760CF

Accessibility & contrast

On white

8.51
#762A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A8A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A8A#FFFFFF#000000##FFFFFF
##762A8A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#763C56
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762a8a;
/* rgb */ color: rgb(118, 42, 138);
/* oklch */ color: oklch(43.9% 0.162 318.5);
Tailwind
colors: {
  custom: {
    50: '#a16aad',
    500: '#762a8a',
    950: '#000000',
  },
}
SCSS
$custom: #762a8a;
$custom-light: #a16aad;
$custom-dark: #000000;
JSON
{
  "hex": "#762a8a",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 287.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.16226,
    "h": 318.5
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#762A8A
secondary
#6EB45B
accent
#DD4B69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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