#772398#772398

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

Color values

HEX#772398
RGBrgb(119, 35, 152)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 77%, 60%)
CMYKcmyk(21.7%, 77%, 0%, 40.4%)
CIE-LABlab(32.68, 53.44, -46.78)
CIE-LCHlch(32.68, 71.02, 318.80°)
OKLaboklab(44.35% 0.1287 -0.1321)
OKLCHoklch(44.35% 0.184 314.2)
XYZxyz(13.8753, 7.3915, 30.3955)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772398 #449823
analogous
#3D2398 #772398 #98237F
triadic
#772398 #987723 #239877
tetradic
#772398 #983D23 #449823 #237F98
square
#772398 #983D23 #449823 #237F98
split-complementary
#772398 #7F9823 #23983D
monochromatic
#290C35 #501866 #772398 #9E2ECA #B65CD9

Accessibility & contrast

On white

8.47
#772398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772398
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772398#FFFFFF#000000##FFFFFF
##7723981.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#743E5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772398;
/* rgb */ color: rgb(119, 35, 152);
/* oklch */ color: oklch(44.4% 0.184 314.2);
Tailwind
colors: {
  custom: {
    50: '#a268b7',
    500: '#772398',
    950: '#000000',
  },
}
SCSS
$custom: #772398;
$custom-light: #a268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#772398",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 283.077,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44354,
    "c": 0.18439,
    "h": 314.2
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#772398
secondary
#75BE59
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772398

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

Preview Lab → · Contrast checker → · Palette generator →

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