#762078#762078

#762078 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.159 H 327.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#762078
RGBrgb(118, 32, 120)
HSLhsl(299, 58%, 30%)
HSVhsv(299, 73%, 47%)
CMYKcmyk(1.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(30.01, 48.09, -31.18)
CIE-LCHlch(30.01, 57.31, 327.04°)
OKLaboklab(41.75% 0.1331 -0.0865)
OKLCHoklch(41.75% 0.159 327)
XYZxyz(11.3777, 6.2414, 18.3711)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762078 #227820
analogous
#4A2078 #762078 #78204E
triadic
#762078 #787620 #207876
tetradic
#762078 #784A20 #227820 #204E78
square
#762078 #784A20 #227820 #204E78
split-complementary
#762078 #4E7820 #20784A
monochromatic
#180618 #461348 #762078 #A62DA8 #CA45CD

Accessibility & contrast

On white

9.34
#762078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#762078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762078
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762078#FFFFFF#000000##FFFFFF
##7620781.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#792E4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762078;
/* rgb */ color: rgb(118, 32, 120);
/* oklch */ color: oklch(41.7% 0.159 327.0);
Tailwind
colors: {
  custom: {
    50: '#a1659f',
    500: '#762078',
    950: '#000000',
  },
}
SCSS
$custom: #762078;
$custom-light: #a1659f;
$custom-dark: #000000;
JSON
{
  "hex": "#762078",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 298.636,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.15875,
    "h": 327
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#762078
secondary
#4BAB48
accent
#E1474A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762078

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

Preview Lab → · Contrast checker → · Palette generator →

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