#74258C#74258C

#74258C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.170 H 317.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#74258C
RGBrgb(116, 37, 140)
HSLhsl(286, 58%, 35%)
HSVhsv(286, 74%, 55%)
CMYKcmyk(17.1%, 73.6%, 0%, 45.1%)
CIE-LABlab(31.65, 49.55, -41.10)
CIE-LCHlch(31.65, 64.37, 320.33°)
OKLaboklab(43.26% 0.1244 -0.1155)
OKLCHoklch(43.26% 0.17 317.1)
XYZxyz(12.5970, 6.9301, 25.4800)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74258C #3D8C25
analogous
#40258C #74258C #8C2571
triadic
#74258C #8C7425 #258C74
tetradic
#74258C #8C4025 #3D8C25 #25718C
square
#74258C #8C4025 #3D8C25 #25718C
split-complementary
#74258C #718C25 #258C40
monochromatic
#240B2B #4C185C #74258C #9C32BC #B658D3

Accessibility & contrast

On white

8.80
#74258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#74258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74258C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74258C#FFFFFF#000000##FFFFFF
##74258C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#274D8A
Tritanopia (blue-blind)
#733A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74258c;
/* rgb */ color: rgb(116, 37, 140);
/* oklch */ color: oklch(43.3% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#9f68ae',
    500: '#74258c',
    950: '#000000',
  },
}
SCSS
$custom: #74258c;
$custom-light: #9f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#74258c",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 286.019,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.16974,
    "h": 317.1
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#74258C
secondary
#6CB855
accent
#E1466B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74258C

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

Preview Lab → · Contrast checker → · Palette generator →

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