#74258A#74258A

#74258A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.168 H 317.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#74258A
RGBrgb(116, 37, 138)
HSLhsl(287, 58%, 34%)
HSVhsv(287, 73%, 54%)
CMYKcmyk(15.9%, 73.2%, 0%, 45.9%)
CIE-LABlab(31.51, 49.14, -40.07)
CIE-LCHlch(31.51, 63.41, 320.80°)
OKLaboklab(43.12% 0.1245 -0.1125)
OKLCHoklch(43.12% 0.168 317.9)
XYZxyz(12.4508, 6.8717, 24.7103)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74258A #3B8A25
analogous
#42258A #74258A #8A256E
triadic
#74258A #8A7425 #258A74
tetradic
#74258A #8A4225 #3B8A25 #256E8A
square
#74258A #8A4225 #3B8A25 #256E8A
split-complementary
#74258A #6E8A25 #258A42
monochromatic
#230B29 #4B185A #74258A #9D32BA #B757D2

Accessibility & contrast

On white

8.85
#74258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74258A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74258A#FFFFFF#000000##FFFFFF
##74258A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#733955
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74258a;
/* rgb */ color: rgb(116, 37, 138);
/* oklch */ color: oklch(43.1% 0.168 317.9);
Tailwind
colors: {
  custom: {
    50: '#9f67ad',
    500: '#74258a',
    950: '#000000',
  },
}
SCSS
$custom: #74258a;
$custom-light: #9f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74258a",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 286.931,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4312,
    "c": 0.16786,
    "h": 317.9
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#74258A
secondary
#6AB754
accent
#E14768
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74258A

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

Preview Lab → · Contrast checker → · Palette generator →

#74258A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva