#762881#762881

#762881 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.156 H 322.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#762881
RGBrgb(118, 40, 129)
HSLhsl(293, 53%, 33%)
HSVhsv(293, 69%, 51%)
CMYKcmyk(8.5%, 69%, 0%, 49.4%)
CIE-LABlab(31.70, 46.54, -34.15)
CIE-LCHlch(31.70, 57.73, 323.73°)
OKLaboklab(43.14% 0.1241 -0.0952)
OKLCHoklch(43.14% 0.156 322.5)
XYZxyz(12.1921, 6.9548, 21.4648)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762881 #338128
analogous
#492881 #762881 #81285F
triadic
#762881 #817628 #288176
tetradic
#762881 #814928 #338128 #285F81
square
#762881 #814928 #338128 #285F81
split-complementary
#762881 #5F8128 #288149
monochromatic
#210B24 #4B1A52 #762881 #A136B0 #BD58CB

Accessibility & contrast

On white

8.78
#762881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#762881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762881
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762881#FFFFFF#000000##FFFFFF
##7628811.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#783751
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762881;
/* rgb */ color: rgb(118, 40, 129);
/* oklch */ color: oklch(43.1% 0.156 322.5);
Tailwind
colors: {
  custom: {
    50: '#a069a6',
    500: '#762881',
    950: '#000000',
  },
}
SCSS
$custom: #762881;
$custom-light: #a069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#762881",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 292.584,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.15643,
    "h": 322.5
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#762881
secondary
#60B054
accent
#DC4C5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762881

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

Preview Lab → · Contrast checker → · Palette generator →

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