#762181#762181

#762181 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.165 H 322.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#762181
RGBrgb(118, 33, 129)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(8.5%, 74.4%, 0%, 49.4%)
CIE-LABlab(30.70, 49.38, -35.75)
CIE-LCHlch(30.70, 60.96, 324.09°)
OKLaboklab(42.42% 0.1319 -0.0998)
OKLCHoklch(42.42% 0.165 322.9)
XYZxyz(11.9771, 6.5249, 21.3932)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762181 #2C8121
analogous
#462181 #762181 #81215C
triadic
#762181 #817621 #218176
tetradic
#762181 #814621 #2C8121 #215C81
square
#762181 #814621 #2C8121 #215C81
split-complementary
#762181 #5C8121 #218146
monochromatic
#1D0820 #491550 #762181 #A32DB2 #C24BD1

Accessibility & contrast

On white

9.11
#762181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#762181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762181
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762181#FFFFFF#000000##FFFFFF
##7621811.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#78324F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762181;
/* rgb */ color: rgb(118, 33, 129);
/* oklch */ color: oklch(42.4% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#a165a6',
    500: '#762181',
    950: '#000000',
  },
}
SCSS
$custom: #762181;
$custom-light: #a165a6;
$custom-dark: #000000;
JSON
{
  "hex": "#762181",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 293.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.16536,
    "h": 322.9
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#762181
secondary
#56B44A
accent
#E24557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762181

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

Preview Lab → · Contrast checker → · Palette generator →

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