#762382#762382

#762382 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.164 H 322.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#762382
RGBrgb(118, 35, 130)
HSLhsl(292, 58%, 32%)
HSVhsv(292, 73%, 51%)
CMYKcmyk(9.2%, 73.1%, 0%, 49%)
CIE-LABlab(31.03, 48.80, -35.84)
CIE-LCHlch(31.03, 60.55, 323.70°)
OKLaboklab(42.68% 0.1297 -0.1001)
OKLCHoklch(42.68% 0.164 322.3)
XYZxyz(12.1011, 6.6660, 21.7640)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762382 #2F8223
analogous
#462382 #762382 #82235F
triadic
#762382 #827623 #238276
tetradic
#762382 #824623 #2F8223 #235F82
square
#762382 #824623 #2F8223 #235F82
split-complementary
#762382 #5F8223 #238246
monochromatic
#1E0922 #4A1652 #762382 #A230B2 #C050D0

Accessibility & contrast

On white

9.00
#762382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#762382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762382
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762382#FFFFFF#000000##FFFFFF
##7623821.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#783450
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762382;
/* rgb */ color: rgb(118, 35, 130);
/* oklch */ color: oklch(42.7% 0.164 322.3);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#762382',
    950: '#000000',
  },
}
SCSS
$custom: #762382;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762382",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 292.421,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.16384,
    "h": 322.3
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#762382
secondary
#5AB34D
accent
#E1475A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762382

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

Preview Lab → · Contrast checker → · Palette generator →

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