#762873#762873

#762873 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 329.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#762873
RGBrgb(118, 40, 115)
HSLhsl(302, 49%, 31%)
HSVhsv(302, 66%, 46%)
CMYKcmyk(0%, 66.1%, 2.5%, 53.7%)
CIE-LABlab(30.90, 43.89, -26.62)
CIE-LCHlch(30.90, 51.33, 328.77°)
OKLaboklab(42.29% 0.1236 -0.0733)
OKLCHoklch(42.29% 0.144 329.3)
XYZxyz(11.3244, 6.6077, 16.8953)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762873 #28762B
analogous
#522876 #762873 #76284C
triadic
#762873 #737628 #287376
tetradic
#762873 #765228 #28762B #284C76
square
#762873 #765228 #28762B #284C76
split-complementary
#762873 #4C7628 #287652
monochromatic
#1B091A #481946 #762873 #A437A0 #C554C1

Accessibility & contrast

On white

9.05
#762873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#762873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762873
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762873#FFFFFF#000000##FFFFFF
##7628731.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#7A314A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762873;
/* rgb */ color: rgb(118, 40, 115);
/* oklch */ color: oklch(42.3% 0.144 329.3);
Tailwind
colors: {
  custom: {
    50: '#a0689b',
    500: '#762873',
    950: '#000000',
  },
}
SCSS
$custom: #762873;
$custom-light: #a0689b;
$custom-dark: #000000;
JSON
{
  "hex": "#762873",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 302.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.14373,
    "h": 329.3
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#762873
secondary
#52A855
accent
#D9544F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762873

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

Preview Lab → · Contrast checker → · Palette generator →

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