#762371#762371

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

Color values

HEX#762371
RGBrgb(118, 35, 113)
HSLhsl(304, 54%, 30%)
HSVhsv(304, 70%, 46%)
CMYKcmyk(0%, 70.3%, 4.2%, 53.7%)
CIE-LABlab(30.03, 45.66, -26.72)
CIE-LCHlch(30.03, 52.90, 329.67°)
OKLaboklab(41.63% 0.1296 -0.0736)
OKLCHoklch(41.63% 0.149 330.4)
XYZxyz(11.0528, 6.2467, 16.2432)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762371 #237628
analogous
#512376 #762371 #762348
triadic
#762371 #717623 #237176
tetradic
#762371 #765123 #237628 #234876
square
#762371 #765123 #237628 #234876
split-complementary
#762371 #487623 #237651
monochromatic
#180717 #471544 #762371 #A5319E #C94AC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762371#FFFFFF#000000##FFFFFF
##7623711.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)
#1C3F73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7B2D47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762371;
/* rgb */ color: rgb(118, 35, 113);
/* oklch */ color: oklch(41.6% 0.149 330.4);
Tailwind
colors: {
  custom: {
    50: '#a0669a',
    500: '#762371',
    950: '#000000',
  },
}
SCSS
$custom: #762371;
$custom-light: #a0669a;
$custom-dark: #000000;
JSON
{
  "hex": "#762371",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 303.614,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.14899,
    "h": 330.4
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#762371
secondary
#4CA952
accent
#DE534A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762371

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

Preview Lab → · Contrast checker → · Palette generator →

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