#74257F#74257F

#74257F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 322.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#74257F
RGBrgb(116, 37, 127)
HSLhsl(293, 55%, 32%)
HSVhsv(293, 71%, 50%)
CMYKcmyk(8.7%, 70.9%, 0%, 50.2%)
CIE-LABlab(30.81, 46.94, -34.35)
CIE-LCHlch(30.81, 58.17, 323.80°)
OKLaboklab(42.39% 0.1252 -0.0958)
OKLCHoklch(42.39% 0.158 322.6)
XYZxyz(11.6944, 6.5691, 20.7265)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74257F #307F25
analogous
#47257F #74257F #7F255D
triadic
#74257F #7F7425 #257F74
tetradic
#74257F #7F4725 #307F25 #255D7F
square
#74257F #7F4725 #307F25 #255D7F
split-complementary
#74257F #5D7F25 #257F47
monochromatic
#1D0920 #491750 #74257F #9F33AE #BE52CD

Accessibility & contrast

On white

9.08
#74257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#74257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74257F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74257F#FFFFFF#000000##FFFFFF
##74257F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094382
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#76344F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74257f;
/* rgb */ color: rgb(116, 37, 127);
/* oklch */ color: oklch(42.4% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#9f67a4',
    500: '#74257f',
    950: '#000000',
  },
}
SCSS
$custom: #74257f;
$custom-light: #9f67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74257f",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 292.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.15761,
    "h": 322.6
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#74257F
secondary
#5BB14F
accent
#DE4A5C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74257F

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

Preview Lab → · Contrast checker → · Palette generator →

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