#74258E#74258E

#74258E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.172 H 316.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#74258E
RGBrgb(116, 37, 142)
HSLhsl(285, 59%, 35%)
HSVhsv(285, 74%, 56%)
CMYKcmyk(18.3%, 73.9%, 0%, 44.3%)
CIE-LABlab(31.78, 49.96, -42.11)
CIE-LCHlch(31.78, 65.34, 319.87°)
OKLaboklab(43.4% 0.1241 -0.1185)
OKLCHoklch(43.4% 0.172 316.3)
XYZxyz(12.7458, 6.9896, 26.2637)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74258E #3F8E25
analogous
#40258E #74258E #8E2573
triadic
#74258E #8E7425 #258E74
tetradic
#74258E #8E4025 #3F8E25 #25738E
square
#74258E #8E4025 #3F8E25 #25738E
split-complementary
#74258E #738E25 #258E40
monochromatic
#250C2D #4C185D #74258E #9C32BF #B65AD4

Accessibility & contrast

On white

8.76
#74258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74258E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74258E#FFFFFF#000000##FFFFFF
##74258E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#723B57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74258e;
/* rgb */ color: rgb(116, 37, 142);
/* oklch */ color: oklch(43.4% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#a068b0',
    500: '#74258e',
    950: '#000000',
  },
}
SCSS
$custom: #74258e;
$custom-light: #a068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74258e",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 285.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.17163,
    "h": 316.3
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#74258E
secondary
#6FB956
accent
#E2466D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74258E

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

Preview Lab → · Contrast checker → · Palette generator →

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