#762488#762488

#762488 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.168 H 319.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#762488
RGBrgb(118, 36, 136)
HSLhsl(289, 58%, 34%)
HSVhsv(289, 74%, 53%)
CMYKcmyk(13.2%, 73.5%, 0%, 46.7%)
CIE-LABlab(31.56, 49.58, -38.74)
CIE-LCHlch(31.56, 62.93, 322.00°)
OKLaboklab(43.18% 0.1283 -0.1086)
OKLCHoklch(43.18% 0.168 319.8)
XYZxyz(12.5455, 6.8915, 23.9572)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762488 #368824
analogous
#442488 #762488 #882468
triadic
#762488 #887624 #248876
tetradic
#762488 #884424 #368824 #246888
square
#762488 #884424 #368824 #246888
split-complementary
#762488 #688824 #248844
monochromatic
#220A27 #4C1758 #762488 #A031B8 #BB55D2

Accessibility & contrast

On white

8.83
#762488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762488
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762488#FFFFFF#000000##FFFFFF
##7624881.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#763754
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762488;
/* rgb */ color: rgb(118, 36, 136);
/* oklch */ color: oklch(43.2% 0.168 319.8);
Tailwind
colors: {
  custom: {
    50: '#a167ab',
    500: '#762488',
    950: '#000000',
  },
}
SCSS
$custom: #762488;
$custom-light: #a167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#762488",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 289.2,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.16807,
    "h": 319.8
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#762488
secondary
#64B652
accent
#E14662
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762488

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

Preview Lab → · Contrast checker → · Palette generator →

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