#74238D#74238D

#74238D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.173 H 316.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#74238D
RGBrgb(116, 35, 141)
HSLhsl(286, 60%, 35%)
HSVhsv(286, 75%, 55%)
CMYKcmyk(17.7%, 75.2%, 0%, 44.7%)
CIE-LABlab(31.44, 50.55, -42.05)
CIE-LCHlch(31.44, 65.75, 320.24°)
OKLaboklab(43.13% 0.1263 -0.1183)
OKLCHoklch(43.13% 0.173 316.9)
XYZxyz(12.6105, 6.8387, 25.8499)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74238D #3C8D23
analogous
#3F238D #74238D #8D2371
triadic
#74238D #8D7423 #238D74
tetradic
#74238D #8D3F23 #3C8D23 #23718D
square
#74238D #8D3F23 #3C8D23 #23718D
split-complementary
#74238D #718D23 #238D3F
monochromatic
#230B2B #4C175C #74238D #9C2FBE #B755D5

Accessibility & contrast

On white

8.87
#74238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74238D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74238D#FFFFFF#000000##FFFFFF
##74238D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#733956
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74238d;
/* rgb */ color: rgb(116, 35, 141);
/* oklch */ color: oklch(43.1% 0.173 316.9);
Tailwind
colors: {
  custom: {
    50: '#a067af',
    500: '#74238d',
    950: '#000000',
  },
}
SCSS
$custom: #74238d;
$custom-light: #a067af;
$custom-dark: #000000;
JSON
{
  "hex": "#74238d",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 285.849,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.17306,
    "h": 316.9
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#74238D
secondary
#6BB953
accent
#E3446A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74238D

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

Preview Lab → · Contrast checker → · Palette generator →

#74238D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva