#772273#772273

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

Color values

HEX#772273
RGBrgb(119, 34, 115)
HSLhsl(303, 56%, 30%)
HSVhsv(303, 71%, 47%)
CMYKcmyk(0%, 71.4%, 3.4%, 53.3%)
CIE-LABlab(30.17, 46.67, -27.75)
CIE-LCHlch(30.17, 54.30, 329.26°)
OKLaboklab(41.8% 0.132 -0.0765)
OKLCHoklch(41.8% 0.153 329.9)
XYZxyz(11.2742, 6.3046, 16.8394)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772273 #227726
analogous
#512277 #772273 #772248
triadic
#772273 #737722 #227377
tetradic
#772273 #775122 #227726 #224877
square
#772273 #775122 #227726 #224877
split-complementary
#772273 #487722 #227751
monochromatic
#180717 #471445 #772273 #A730A1 #CB49C5

Accessibility & contrast

On white

9.29
#772273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#772273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772273
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772273#FFFFFF#000000##FFFFFF
##7722731.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194075
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7B2D48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772273;
/* rgb */ color: rgb(119, 34, 115);
/* oklch */ color: oklch(41.8% 0.153 329.9);
Tailwind
colors: {
  custom: {
    50: '#a1659b',
    500: '#772273',
    950: '#000000',
  },
}
SCSS
$custom: #772273;
$custom-light: #a1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#772273",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 302.824,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.15256,
    "h": 329.9
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#772273
secondary
#4BAA4F
accent
#DF5049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772273

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

Preview Lab → · Contrast checker → · Palette generator →

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