#74257E#74257E

#74257E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 323.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#74257E
RGBrgb(116, 37, 126)
HSLhsl(293, 55%, 32%)
HSVhsv(293, 71%, 49%)
CMYKcmyk(7.9%, 70.6%, 0%, 50.6%)
CIE-LABlab(30.74, 46.74, -33.82)
CIE-LCHlch(30.74, 57.70, 324.11°)
OKLaboklab(42.32% 0.1252 -0.0943)
OKLCHoklch(42.32% 0.157 323)
XYZxyz(11.6296, 6.5432, 20.3850)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74257E #2F7E25
analogous
#47257E #74257E #7E255C
triadic
#74257E #7E7425 #257E74
tetradic
#74257E #7E4725 #2F7E25 #255C7E
square
#74257E #7E4725 #2F7E25 #255C7E
split-complementary
#74257E #5C7E25 #257E47
monochromatic
#1D091F #48174F #74257E #A033AD #BE51CC

Accessibility & contrast

On white

9.10
#74257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74257E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74257E#FFFFFF#000000##FFFFFF
##74257E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4281
Deuteranopia (green-blind)
#334B7C
Tritanopia (blue-blind)
#76344E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74257e;
/* rgb */ color: rgb(116, 37, 126);
/* oklch */ color: oklch(42.3% 0.157 323.0);
Tailwind
colors: {
  custom: {
    50: '#9f67a4',
    500: '#74257e',
    950: '#000000',
  },
}
SCSS
$custom: #74257e;
$custom-light: #9f67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74257e",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 293.258,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.15669,
    "h": 323
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#74257E
secondary
#5AB04F
accent
#DE4A5A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74257E

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

Preview Lab → · Contrast checker → · Palette generator →

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