#74177F#74177F

#74177F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.173 H 323.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#74177F
RGBrgb(116, 23, 127)
HSLhsl(294, 69%, 29%)
HSVhsv(294, 82%, 50%)
CMYKcmyk(8.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(29.05, 51.95, -37.15)
CIE-LCHlch(29.05, 63.86, 324.43°)
OKLaboklab(41.14% 0.1388 -0.1039)
OKLCHoklch(41.14% 0.173 323.2)
XYZxyz(11.3393, 5.8588, 20.6082)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74177F #227F17
analogous
#40177F #74177F #7F1756
triadic
#74177F #7F7417 #177F74
tetradic
#74177F #7F4017 #227F17 #17567F
square
#74177F #7F4017 #227F17 #17567F
split-complementary
#74177F #567F17 #177F40
monochromatic
#18051A #450E4B #74177F #A320B3 #C936DB

Accessibility & contrast

On white

9.67
#74177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#74177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74177F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74177F#FFFFFF#000000##FFFFFF
##74177F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#762C4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74177f;
/* rgb */ color: rgb(116, 23, 127);
/* oklch */ color: oklch(41.1% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#a061a5',
    500: '#74177f',
    950: '#000000',
  },
}
SCSS
$custom: #74177f;
$custom-light: #a061a5;
$custom-dark: #000000;
JSON
{
  "hex": "#74177f",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 293.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.17334,
    "h": 323.2
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#74177F
secondary
#4BB43E
accent
#EC3C4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74177F

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

Preview Lab → · Contrast checker → · Palette generator →

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