#762177#762177

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

Color values

HEX#762177
RGBrgb(118, 33, 119)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 72%, 47%)
CMYKcmyk(0.8%, 72.3%, 0%, 53.3%)
CIE-LABlab(30.09, 47.52, -30.43)
CIE-LCHlch(30.09, 56.43, 327.37°)
OKLaboklab(41.78% 0.1321 -0.0843)
OKLCHoklch(41.78% 0.157 327.4)
XYZxyz(11.3447, 6.2720, 18.0623)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762177 #227721
analogous
#4B2177 #762177 #77214D
triadic
#762177 #777621 #217776
tetradic
#762177 #774B21 #227721 #214D77
square
#762177 #774B21 #227721 #214D77
split-complementary
#762177 #4D7721 #21774B
monochromatic
#180718 #461447 #762177 #A62EA7 #CA47CC

Accessibility & contrast

On white

9.32
#762177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762177
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762177#FFFFFF#000000##FFFFFF
##7621771.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7A2E49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762177;
/* rgb */ color: rgb(118, 33, 119);
/* oklch */ color: oklch(41.8% 0.157 327.4);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#762177',
    950: '#000000',
  },
}
SCSS
$custom: #762177;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#762177",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 299.302,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.15666,
    "h": 327.4
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#762177
secondary
#4BAA4A
accent
#E0484A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762177

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

Preview Lab → · Contrast checker → · Palette generator →

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