#762178#762178

#762178 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 327.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#762178
RGBrgb(118, 33, 120)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 73%, 47%)
CMYKcmyk(1.7%, 72.5%, 0%, 52.9%)
CIE-LABlab(30.15, 47.70, -30.97)
CIE-LCHlch(30.15, 56.88, 327.01°)
OKLaboklab(41.84% 0.1321 -0.0859)
OKLCHoklch(41.84% 0.158 327)
XYZxyz(11.4050, 6.2961, 18.3802)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762178 #237821
analogous
#4B2178 #762178 #78214E
triadic
#762178 #787621 #217876
tetradic
#762178 #784B21 #237821 #214E78
square
#762178 #784B21 #237821 #214E78
split-complementary
#762178 #4E7821 #21784B
monochromatic
#180718 #471448 #762178 #A52EA8 #C947CC

Accessibility & contrast

On white

9.30
#762178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#762178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762178
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762178#FFFFFF#000000##FFFFFF
##7621781.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762178;
/* rgb */ color: rgb(118, 33, 120);
/* oklch */ color: oklch(41.8% 0.158 327.0);
Tailwind
colors: {
  custom: {
    50: '#a1659f',
    500: '#762178',
    950: '#000000',
  },
}
SCSS
$custom: #762178;
$custom-light: #a1659f;
$custom-dark: #000000;
JSON
{
  "hex": "#762178",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 298.621,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.15752,
    "h": 327
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#762178
secondary
#4CAB4A
accent
#E0484B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762178

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

Preview Lab → · Contrast checker → · Palette generator →

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