#762276#762276

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

Color values

HEX#762276
RGBrgb(118, 34, 118)
HSLhsl(300, 55%, 30%)
HSVhsv(300, 71%, 46%)
CMYKcmyk(0%, 71.2%, 0%, 53.7%)
CIE-LABlab(30.17, 46.95, -29.67)
CIE-LCHlch(30.17, 55.54, 327.71°)
OKLaboklab(41.82% 0.1309 -0.0821)
OKLCHoklch(41.82% 0.155 327.9)
XYZxyz(11.3131, 6.3044, 17.7570)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762276 #227622
analogous
#4C2276 #762276 #76224C
triadic
#762276 #767622 #227676
tetradic
#762276 #764C22 #227622 #224C76
square
#762276 #764C22 #227622 #224C76
split-complementary
#762276 #4C7622 #22764C
monochromatic
#180718 #461446 #762276 #A630A6 #CA48CA

Accessibility & contrast

On white

9.29
#762276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762276
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762276#FFFFFF#000000##FFFFFF
##7622761.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#7A2E49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762276;
/* rgb */ color: rgb(118, 34, 118);
/* oklch */ color: oklch(41.8% 0.155 327.9);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#762276',
    950: '#000000',
  },
}
SCSS
$custom: #762276;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#762276",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 300,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.15454,
    "h": 327.9
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#762276
secondary
#4BA94B
accent
#DF4949
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762276

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

Preview Lab → · Contrast checker → · Palette generator →

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