#74258F#74258F

#74258F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 315.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#74258F
RGBrgb(116, 37, 143)
HSLhsl(285, 59%, 35%)
HSVhsv(285, 74%, 56%)
CMYKcmyk(18.9%, 74.1%, 0%, 43.9%)
CIE-LABlab(31.85, 50.17, -42.62)
CIE-LCHlch(31.85, 65.83, 319.65°)
OKLaboklab(43.47% 0.124 -0.12)
OKLCHoklch(43.47% 0.173 315.9)
XYZxyz(12.8212, 7.0198, 26.6609)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74258F #408F25
analogous
#3F258F #74258F #8F2575
triadic
#74258F #8F7425 #258F74
tetradic
#74258F #8F3F25 #408F25 #25758F
square
#74258F #8F3F25 #408F25 #25758F
split-complementary
#74258F #758F25 #258F3F
monochromatic
#250C2E #4D185E #74258F #9B32C0 #B55AD4

Accessibility & contrast

On white

8.74
#74258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#74258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74258F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74258F#FFFFFF#000000##FFFFFF
##74258F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#723B58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74258f;
/* rgb */ color: rgb(116, 37, 143);
/* oklch */ color: oklch(43.5% 0.173 315.9);
Tailwind
colors: {
  custom: {
    50: '#a068b0',
    500: '#74258f',
    950: '#000000',
  },
}
SCSS
$custom: #74258f;
$custom-light: #a068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74258f",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 284.717,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.17258,
    "h": 315.9
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#74258F
secondary
#70B957
accent
#E2466E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74258F

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

Preview Lab → · Contrast checker → · Palette generator →

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