#772498#772498

#772498 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.183 H 314.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#772498
RGBrgb(119, 36, 152)
HSLhsl(283, 62%, 37%)
HSVhsv(283, 76%, 60%)
CMYKcmyk(21.7%, 76.3%, 0%, 40.4%)
CIE-LABlab(32.81, 53.06, -46.57)
CIE-LCHlch(32.81, 70.60, 318.73°)
OKLaboklab(44.45% 0.1277 -0.1315)
OKLCHoklch(44.45% 0.183 314.2)
XYZxyz(13.9052, 7.4512, 30.4054)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772498 #459824
analogous
#3D2498 #772498 #98247F
triadic
#772498 #987724 #249877
tetradic
#772498 #983D24 #459824 #247F98
square
#772498 #983D24 #459824 #247F98
split-complementary
#772498 #7F9824 #24983D
monochromatic
#2A0D35 #501867 #772498 #9E30C9 #B65ED9

Accessibility & contrast

On white

8.43
#772498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#772498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772498
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772498#FFFFFF#000000##FFFFFF
##7724981.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772498;
/* rgb */ color: rgb(119, 36, 152);
/* oklch */ color: oklch(44.4% 0.183 314.2);
Tailwind
colors: {
  custom: {
    50: '#a268b7',
    500: '#772498',
    950: '#000000',
  },
}
SCSS
$custom: #772498;
$custom-light: #a268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#772498",
  "rgb": {
    "r": 119,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 282.931,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.1833,
    "h": 314.2
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#772498
secondary
#76BE5A
accent
#E54371
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772498

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

Preview Lab → · Contrast checker → · Palette generator →

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