#74187F#74187F

#74187F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.172 H 323.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#74187F
RGBrgb(116, 24, 127)
HSLhsl(294, 68%, 30%)
HSVhsv(294, 81%, 50%)
CMYKcmyk(8.7%, 81.1%, 0%, 50.2%)
CIE-LABlab(29.16, 51.65, -36.99)
CIE-LCHlch(29.16, 63.52, 324.39°)
OKLaboklab(41.21% 0.1379 -0.1034)
OKLCHoklch(41.21% 0.172 323.1)
XYZxyz(11.3595, 5.8993, 20.6149)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187F #237F18
analogous
#40187F #74187F #7F1857
triadic
#74187F #7F7418 #187F74
tetradic
#74187F #7F4018 #237F18 #18577F
square
#74187F #7F4018 #237F18 #18577F
split-complementary
#74187F #577F18 #187F40
monochromatic
#18051A #450E4C #74187F #A322B2 #C838D9

Accessibility & contrast

On white

9.63
#74187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#74187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74187F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187F#FFFFFF#000000##FFFFFF
##74187F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74187f;
/* rgb */ color: rgb(116, 24, 127);
/* oklch */ color: oklch(41.2% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#a061a5',
    500: '#74187f',
    950: '#000000',
  },
}
SCSS
$custom: #74187f;
$custom-light: #a061a5;
$custom-dark: #000000;
JSON
{
  "hex": "#74187f",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 293.592,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.1724,
    "h": 323.1
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#74187F
secondary
#4CB33F
accent
#EB3D4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74187F

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

Preview Lab → · Contrast checker → · Palette generator →

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