#762498#762498

#762498 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.183 H 313.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#762498
RGBrgb(118, 36, 152)
HSLhsl(282, 62%, 37%)
HSVhsv(282, 76%, 60%)
CMYKcmyk(22.4%, 76.3%, 0%, 40.4%)
CIE-LABlab(32.66, 52.86, -46.82)
CIE-LCHlch(32.66, 70.62, 318.47°)
OKLaboklab(44.31% 0.1264 -0.1323)
OKLCHoklch(44.31% 0.183 313.7)
XYZxyz(13.7686, 7.3808, 30.3990)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762498 #469824
analogous
#3C2498 #762498 #982480
triadic
#762498 #987624 #249876
tetradic
#762498 #983C24 #469824 #248098
square
#762498 #983C24 #469824 #248098
split-complementary
#762498 #809824 #24983C
monochromatic
#290D35 #501867 #762498 #9C30C9 #B55ED9

Accessibility & contrast

On white

8.48
#762498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762498
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762498#FFFFFF#000000##FFFFFF
##7624981.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#733E5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762498;
/* rgb */ color: rgb(118, 36, 152);
/* oklch */ color: oklch(44.3% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#a268b7',
    500: '#762498',
    950: '#000000',
  },
}
SCSS
$custom: #762498;
$custom-light: #a268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#762498",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 282.414,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.18295,
    "h": 313.7
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#762498
secondary
#77BE5A
accent
#E54372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762498

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

Preview Lab → · Contrast checker → · Palette generator →

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