#762688#762688

#762688 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 319.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#762688
RGBrgb(118, 38, 136)
HSLhsl(289, 56%, 34%)
HSVhsv(289, 72%, 53%)
CMYKcmyk(13.2%, 72.1%, 0%, 46.7%)
CIE-LABlab(31.84, 48.78, -38.29)
CIE-LCHlch(31.84, 62.01, 321.87°)
OKLaboklab(43.38% 0.1262 -0.1072)
OKLCHoklch(43.38% 0.166 319.6)
XYZxyz(12.6077, 7.0160, 23.9779)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762688 #388826
analogous
#452688 #762688 #882669
triadic
#762688 #887626 #268876
tetradic
#762688 #884526 #388826 #266988
square
#762688 #884526 #388826 #266988
split-complementary
#762688 #698826 #268845
monochromatic
#230B28 #4C1958 #762688 #A033B8 #BA58D0

Accessibility & contrast

On white

8.74
#762688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#762688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762688
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762688#FFFFFF#000000##FFFFFF
##7626881.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#763854
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762688;
/* rgb */ color: rgb(118, 38, 136);
/* oklch */ color: oklch(43.4% 0.166 319.6);
Tailwind
colors: {
  custom: {
    50: '#a168ab',
    500: '#762688',
    950: '#000000',
  },
}
SCSS
$custom: #762688;
$custom-light: #a168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#762688",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 288.98,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43378,
    "c": 0.16559,
    "h": 319.6
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#762688
secondary
#66B555
accent
#E04864
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762688

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

Preview Lab → · Contrast checker → · Palette generator →

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