#74237E#74237E

#74237E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 323.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#74237E
RGBrgb(116, 35, 126)
HSLhsl(293, 57%, 32%)
HSVhsv(293, 72%, 49%)
CMYKcmyk(7.9%, 72.2%, 0%, 50.6%)
CIE-LABlab(30.45, 47.56, -34.28)
CIE-LCHlch(30.45, 58.63, 324.22°)
OKLaboklab(42.12% 0.1274 -0.0956)
OKLCHoklch(42.12% 0.159 323.1)
XYZxyz(11.5690, 6.4221, 20.3648)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237E #2D7E23
analogous
#47237E #74237E #7E235B
triadic
#74237E #7E7423 #237E74
tetradic
#74237E #7E4723 #2D7E23 #235B7E
square
#74237E #7E4723 #2D7E23 #235B7E
split-complementary
#74237E #5B7E23 #237E47
monochromatic
#1C081E #48164E #74237E #A030AE #C04ECE

Accessibility & contrast

On white

9.19
#74237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74237E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237E#FFFFFF#000000##FFFFFF
##74237E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054281
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#76334E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74237e;
/* rgb */ color: rgb(116, 35, 126);
/* oklch */ color: oklch(42.1% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#9f66a4',
    500: '#74237e',
    950: '#000000',
  },
}
SCSS
$custom: #74237e;
$custom-light: #9f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74237e",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 293.407,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.15927,
    "h": 323.1
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#74237E
secondary
#57B04C
accent
#E04859
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74237E

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

Preview Lab → · Contrast checker → · Palette generator →

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