#762179#762179

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

Color values

HEX#762179
RGBrgb(118, 33, 121)
HSLhsl(298, 57%, 30%)
HSVhsv(298, 73%, 47%)
CMYKcmyk(2.5%, 72.7%, 0%, 52.5%)
CIE-LABlab(30.21, 47.89, -31.51)
CIE-LCHlch(30.21, 57.32, 326.66°)
OKLaboklab(41.91% 0.1321 -0.0874)
OKLCHoklch(41.91% 0.158 326.5)
XYZxyz(11.4661, 6.3205, 18.7015)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762179 #247921
analogous
#4A2179 #762179 #792150
triadic
#762179 #797621 #217976
tetradic
#762179 #794A21 #247921 #215079
square
#762179 #794A21 #247921 #215079
split-complementary
#762179 #507921 #21794A
monochromatic
#180719 #471449 #762179 #A52EA9 #C847CD

Accessibility & contrast

On white

9.28
#762179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762179
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762179#FFFFFF#000000##FFFFFF
##7621791.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407B
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#792F4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762179;
/* rgb */ color: rgb(118, 33, 121);
/* oklch */ color: oklch(41.9% 0.158 326.5);
Tailwind
colors: {
  custom: {
    50: '#a165a0',
    500: '#762179',
    950: '#000000',
  },
}
SCSS
$custom: #762179;
$custom-light: #a165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#762179",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 297.955,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41906,
    "c": 0.15838,
    "h": 326.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#762179
secondary
#4DAC4A
accent
#E0474D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #762179

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

Preview Lab → · Contrast checker → · Palette generator →

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