#74278D#74278D

#74278D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.168 H 316.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#74278D
RGBrgb(116, 39, 141)
HSLhsl(285, 57%, 35%)
HSVhsv(285, 72%, 55%)
CMYKcmyk(17.7%, 72.3%, 0%, 44.7%)
CIE-LABlab(32.01, 48.93, -41.14)
CIE-LCHlch(32.01, 63.93, 319.95°)
OKLaboklab(43.54% 0.1221 -0.1157)
OKLCHoklch(43.54% 0.168 316.6)
XYZxyz(12.7350, 7.0876, 25.8914)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74278D #408D27
analogous
#41278D #74278D #8D2773
triadic
#74278D #8D7427 #278D74
tetradic
#74278D #8D4127 #408D27 #27738D
square
#74278D #8D4127 #408D27 #27738D
split-complementary
#74278D #738D27 #278D41
monochromatic
#250C2D #4D1A5D #74278D #9B34BD #B55CD2

Accessibility & contrast

On white

8.69
#74278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#74278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74278D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74278D#FFFFFF#000000##FFFFFF
##74278D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#284D8B
Tritanopia (blue-blind)
#733C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74278d;
/* rgb */ color: rgb(116, 39, 141);
/* oklch */ color: oklch(43.5% 0.168 316.6);
Tailwind
colors: {
  custom: {
    50: '#9f69af',
    500: '#74278d',
    950: '#000000',
  },
}
SCSS
$custom: #74278d;
$custom-light: #9f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#74278d",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 285.294,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.16821,
    "h": 316.6
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#74278D
secondary
#70B759
accent
#E0486D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74278D

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

Preview Lab → · Contrast checker → · Palette generator →

#74278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva