#74258B#74258B

#74258B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.169 H 317.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#74258B
RGBrgb(116, 37, 139)
HSLhsl(286, 58%, 35%)
HSVhsv(286, 73%, 55%)
CMYKcmyk(16.5%, 73.4%, 0%, 45.5%)
CIE-LABlab(31.58, 49.34, -40.59)
CIE-LCHlch(31.58, 63.89, 320.56°)
OKLaboklab(43.19% 0.1245 -0.114)
OKLCHoklch(43.19% 0.169 317.5)
XYZxyz(12.5236, 6.9008, 25.0934)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74258B #3C8B25
analogous
#41258B #74258B #8B256F
triadic
#74258B #8B7425 #258B74
tetradic
#74258B #8B4125 #3C8B25 #256F8B
square
#74258B #8B4125 #3C8B25 #256F8B
split-complementary
#74258B #6F8B25 #258B41
monochromatic
#230B2A #4C185B #74258B #9C32BB #B758D3

Accessibility & contrast

On white

8.82
#74258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#74258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74258B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74258B#FFFFFF#000000##FFFFFF
##74258B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#733A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74258b;
/* rgb */ color: rgb(116, 37, 139);
/* oklch */ color: oklch(43.2% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#9f67ad',
    500: '#74258b',
    950: '#000000',
  },
}
SCSS
$custom: #74258b;
$custom-light: #9f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74258b",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 286.471,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.1688,
    "h": 317.5
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#74258B
secondary
#6BB755
accent
#E14769
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74258B

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

Preview Lab → · Contrast checker → · Palette generator →

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