#762278#762278

#762278 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.156 H 326.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#762278
RGBrgb(118, 34, 120)
HSLhsl(299, 56%, 30%)
HSVhsv(299, 72%, 47%)
CMYKcmyk(1.7%, 71.7%, 0%, 52.9%)
CIE-LABlab(30.28, 47.32, -30.75)
CIE-LCHlch(30.28, 56.43, 326.98°)
OKLaboklab(41.94% 0.131 -0.0852)
OKLCHoklch(41.94% 0.156 326.9)
XYZxyz(11.4332, 6.3524, 18.3896)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762278 #247822
analogous
#4B2278 #762278 #78224F
triadic
#762278 #787622 #227876
tetradic
#762278 #784B22 #247822 #224F78
square
#762278 #784B22 #247822 #224F78
split-complementary
#762278 #4F7822 #22784B
monochromatic
#180719 #471448 #762278 #A530A8 #C849CB

Accessibility & contrast

On white

9.25
#762278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#762278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762278
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762278#FFFFFF#000000##FFFFFF
##7622781.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12407A
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#792F4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762278;
/* rgb */ color: rgb(118, 34, 120);
/* oklch */ color: oklch(41.9% 0.156 326.9);
Tailwind
colors: {
  custom: {
    50: '#a0669f',
    500: '#762278',
    950: '#000000',
  },
}
SCSS
$custom: #762278;
$custom-light: #a0669f;
$custom-dark: #000000;
JSON
{
  "hex": "#762278",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 298.605,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.15627,
    "h": 326.9
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#762278
secondary
#4DAB4B
accent
#DF494C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762278

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

Preview Lab → · Contrast checker → · Palette generator →

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