#772174#772174

#772174 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.155 H 329.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#772174
RGBrgb(119, 33, 116)
HSLhsl(302, 57%, 30%)
HSVhsv(302, 72%, 47%)
CMYKcmyk(0%, 72.3%, 2.5%, 53.3%)
CIE-LABlab(30.09, 47.23, -28.52)
CIE-LCHlch(30.09, 55.18, 328.88°)
OKLaboklab(41.76% 0.1331 -0.0787)
OKLCHoklch(41.76% 0.155 329.4)
XYZxyz(11.3039, 6.2714, 17.1347)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772174 #217724
analogous
#4F2177 #772174 #772149
triadic
#772174 #747721 #217477
tetradic
#772174 #774F21 #217724 #214977
square
#772174 #774F21 #217724 #214977
split-complementary
#772174 #497721 #21774F
monochromatic
#180717 #471445 #772174 #A72EA3 #CC47C7

Accessibility & contrast

On white

9.32
#772174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#772174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772174
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772174#FFFFFF#000000##FFFFFF
##7721741.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#7B2C48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772174;
/* rgb */ color: rgb(119, 33, 116);
/* oklch */ color: oklch(41.8% 0.155 329.4);
Tailwind
colors: {
  custom: {
    50: '#a1659c',
    500: '#772174',
    950: '#000000',
  },
}
SCSS
$custom: #772174;
$custom-light: #a1659c;
$custom-dark: #000000;
JSON
{
  "hex": "#772174",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 302.093,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.15467,
    "h": 329.4
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#772174
secondary
#4AAA4D
accent
#E04D48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772174

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

Preview Lab → · Contrast checker → · Palette generator →

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