#77237F#77237F

#77237F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.162 H 324.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#77237F
RGBrgb(119, 35, 127)
HSLhsl(295, 57%, 32%)
HSVhsv(295, 72%, 50%)
CMYKcmyk(6.3%, 72.4%, 0%, 50.2%)
CIE-LABlab(31.01, 48.46, -33.99)
CIE-LCHlch(31.01, 59.20, 324.96°)
OKLaboklab(42.63% 0.131 -0.0946)
OKLCHoklch(42.63% 0.162 324.2)
XYZxyz(12.0392, 6.6570, 20.7254)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237F #2B7F23
analogous
#49237F #77237F #7F2359
triadic
#77237F #7F7723 #237F77
tetradic
#77237F #7F4923 #2B7F23 #23597F
square
#77237F #7F4923 #2B7F23 #23597F
split-complementary
#77237F #597F23 #237F49
monochromatic
#1D091F #4A164F #77237F #A430AF #C34ECE

Accessibility & contrast

On white

9.01
#77237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#77237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77237F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237F#FFFFFF#000000##FFFFFF
##77237F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#344C7D
Tritanopia (blue-blind)
#79334E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77237f;
/* rgb */ color: rgb(119, 35, 127);
/* oklch */ color: oklch(42.6% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#77237f',
    950: '#000000',
  },
}
SCSS
$custom: #77237f;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77237f",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 294.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.16164,
    "h": 324.2
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#77237F
secondary
#55B14C
accent
#E04855
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77237F

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

Preview Lab → · Contrast checker → · Palette generator →

#77237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva