#762782#762782

#762782 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 322.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#762782
RGBrgb(118, 39, 130)
HSLhsl(292, 54%, 33%)
HSVhsv(292, 70%, 51%)
CMYKcmyk(9.2%, 70%, 0%, 49%)
CIE-LABlab(31.61, 47.17, -34.92)
CIE-LCHlch(31.61, 58.69, 323.49°)
OKLaboklab(43.09% 0.1253 -0.0974)
OKLCHoklch(43.09% 0.159 322.1)
XYZxyz(12.2256, 6.9150, 21.8055)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762782 #338227
analogous
#482782 #762782 #822760
triadic
#762782 #827627 #278276
tetradic
#762782 #824827 #338227 #276082
square
#762782 #824827 #338227 #276082
split-complementary
#762782 #608227 #278248
monochromatic
#210B24 #4B1953 #762782 #A135B1 #BD57CD

Accessibility & contrast

On white

8.81
#762782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762782
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762782#FFFFFF#000000##FFFFFF
##7627821.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#773751
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762782;
/* rgb */ color: rgb(118, 39, 130);
/* oklch */ color: oklch(43.1% 0.159 322.1);
Tailwind
colors: {
  custom: {
    50: '#a068a7',
    500: '#762782',
    950: '#000000',
  },
}
SCSS
$custom: #762782;
$custom-light: #a068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762782",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 292.088,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.15871,
    "h": 322.1
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#762782
secondary
#60B153
accent
#DD4B5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762782

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

Preview Lab → · Contrast checker → · Palette generator →

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