#762182#762182

#762182 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.166 H 322.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#762182
RGBrgb(118, 33, 130)
HSLhsl(293, 60%, 32%)
HSVhsv(293, 75%, 51%)
CMYKcmyk(9.2%, 74.6%, 0%, 49%)
CIE-LABlab(30.76, 49.57, -36.28)
CIE-LCHlch(30.76, 61.43, 323.80°)
OKLaboklab(42.48% 0.1318 -0.1013)
OKLCHoklch(42.48% 0.166 322.4)
XYZxyz(12.0439, 6.5517, 21.7450)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762182 #2D8221
analogous
#452182 #762182 #82215E
triadic
#762182 #827621 #218276
tetradic
#762182 #824521 #2D8221 #215E82
square
#762182 #824521 #2D8221 #215E82
split-complementary
#762182 #5E8221 #218245
monochromatic
#1D0820 #4A1551 #762182 #A22DB3 #C14CD2

Accessibility & contrast

On white

9.09
#762182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#762182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762182
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762182#FFFFFF#000000##FFFFFF
##7621821.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#783350
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762182;
/* rgb */ color: rgb(118, 33, 130);
/* oklch */ color: oklch(42.5% 0.166 322.4);
Tailwind
colors: {
  custom: {
    50: '#a165a7',
    500: '#762182',
    950: '#000000',
  },
}
SCSS
$custom: #762182;
$custom-light: #a165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762182",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 292.577,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.16625,
    "h": 322.4
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#762182
secondary
#57B44A
accent
#E34559
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762182

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

Preview Lab → · Contrast checker → · Palette generator →

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