#74247C#74247C

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

Color values

HEX#74247C
RGBrgb(116, 36, 124)
HSLhsl(295, 55%, 31%)
HSVhsv(295, 71%, 49%)
CMYKcmyk(6.5%, 71%, 0%, 51.4%)
CIE-LABlab(30.47, 46.77, -32.99)
CIE-LCHlch(30.47, 57.24, 324.80°)
OKLaboklab(42.09% 0.1263 -0.0918)
OKLCHoklch(42.09% 0.156 324)
XYZxyz(11.4711, 6.4307, 19.7019)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74247C #2C7C24
analogous
#48247C #74247C #7C2458
triadic
#74247C #7C7424 #247C74
tetradic
#74247C #7C4824 #2C7C24 #24587C
square
#74247C #7C4824 #2C7C24 #24587C
split-complementary
#74247C #587C24 #247C48
monochromatic
#1B081D #48164D #74247C #A032AB #C04FCC

Accessibility & contrast

On white

9.19
#74247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#74247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74247C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74247C#FFFFFF#000000##FFFFFF
##74247C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#76324D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74247c;
/* rgb */ color: rgb(116, 36, 124);
/* oklch */ color: oklch(42.1% 0.156 324.0);
Tailwind
colors: {
  custom: {
    50: '#9f66a2',
    500: '#74247c',
    950: '#000000',
  },
}
SCSS
$custom: #74247c;
$custom-light: #9f66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74247c",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 294.545,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.15619,
    "h": 324
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#74247C
secondary
#56AE4D
accent
#DE4957
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74247C

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

Preview Lab → · Contrast checker → · Palette generator →

#74247C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva