#762176#762176

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

Color values

HEX#762176
RGBrgb(118, 33, 118)
HSLhsl(300, 56%, 30%)
HSVhsv(300, 72%, 46%)
CMYKcmyk(0%, 72%, 0%, 53.7%)
CIE-LABlab(30.03, 47.34, -29.89)
CIE-LCHlch(30.03, 55.99, 327.74°)
OKLaboklab(41.72% 0.132 -0.0827)
OKLCHoklch(41.72% 0.156 327.9)
XYZxyz(11.2849, 6.2481, 17.7476)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762176 #217621
analogous
#4C2176 #762176 #76214C
triadic
#762176 #767621 #217676
tetradic
#762176 #764C21 #217621 #214C76
square
#762176 #764C21 #217621 #214C76
split-complementary
#762176 #4C7621 #21764C
monochromatic
#180718 #461446 #762176 #A62EA6 #CB46CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762176#FFFFFF#000000##FFFFFF
##7621761.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)
#134078
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#7A2D49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762176;
/* rgb */ color: rgb(118, 33, 118);
/* oklch */ color: oklch(41.7% 0.156 327.9);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#762176',
    950: '#000000',
  },
}
SCSS
$custom: #762176;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#762176",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 300,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41722,
    "c": 0.15581,
    "h": 327.9
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#762176
secondary
#4AA94A
accent
#E04848
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762176

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

Preview Lab → · Contrast checker → · Palette generator →

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