#762174#762174

#762174 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.154 H 328.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#762174
RGBrgb(118, 33, 116)
HSLhsl(301, 56%, 30%)
HSVhsv(301, 72%, 46%)
CMYKcmyk(0%, 72%, 1.7%, 53.7%)
CIE-LABlab(29.91, 46.99, -28.80)
CIE-LCHlch(29.91, 55.11, 328.49°)
OKLaboklab(41.6% 0.132 -0.0796)
OKLCHoklch(41.6% 0.154 328.9)
XYZxyz(11.1673, 6.2010, 17.1283)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762174 #217623
analogous
#4E2176 #762174 #76214A
triadic
#762174 #747621 #217476
tetradic
#762174 #764E21 #217623 #214A76
square
#762174 #764E21 #217623 #214A76
split-complementary
#762174 #4A7621 #21764E
monochromatic
#180718 #461445 #762174 #A62EA3 #CB46C8

Accessibility & contrast

On white

9.38
#762174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#762174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762174
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762174#FFFFFF#000000##FFFFFF
##7621741.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7A2D48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #762174;
/* rgb */ color: rgb(118, 33, 116);
/* oklch */ color: oklch(41.6% 0.154 328.9);
Tailwind
colors: {
  custom: {
    50: '#a0659c',
    500: '#762174',
    950: '#000000',
  },
}
SCSS
$custom: #762174;
$custom-light: #a0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#762174",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 301.412,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.15412,
    "h": 328.9
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#762174
secondary
#4AA94C
accent
#E04C48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762174

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

Preview Lab → · Contrast checker → · Palette generator →

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