#762173#762173

#762173 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.153 H 329.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#762173
RGBrgb(118, 33, 115)
HSLhsl(302, 56%, 30%)
HSVhsv(302, 72%, 46%)
CMYKcmyk(0%, 72%, 2.5%, 53.7%)
CIE-LABlab(29.86, 46.81, -28.26)
CIE-LCHlch(29.86, 54.68, 328.88°)
OKLaboklab(41.54% 0.1319 -0.078)
OKLCHoklch(41.54% 0.153 329.4)
XYZxyz(11.1095, 6.1779, 16.8237)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762173 #217624
analogous
#4F2176 #762173 #762148
triadic
#762173 #737621 #217376
tetradic
#762173 #764F21 #217624 #214876
square
#762173 #764F21 #217624 #214876
split-complementary
#762173 #487621 #21764F
monochromatic
#180717 #461444 #762173 #A62EA2 #CB46C7

Accessibility & contrast

On white

9.39
#762173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762173
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762173#FFFFFF#000000##FFFFFF
##7621731.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#7A2C47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #762173;
/* rgb */ color: rgb(118, 33, 115);
/* oklch */ color: oklch(41.5% 0.153 329.4);
Tailwind
colors: {
  custom: {
    50: '#a0659b',
    500: '#762173',
    950: '#000000',
  },
}
SCSS
$custom: #762173;
$custom-light: #a0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#762173",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 302.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.15327,
    "h": 329.4
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#762173
secondary
#4AA94D
accent
#E04E48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762173

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

Preview Lab → · Contrast checker → · Palette generator →

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