#74247B#74247B

#74247B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 324.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#74247B
RGBrgb(116, 36, 123)
HSLhsl(295, 55%, 31%)
HSVhsv(295, 71%, 48%)
CMYKcmyk(5.7%, 70.7%, 0%, 51.8%)
CIE-LABlab(30.41, 46.58, -32.46)
CIE-LCHlch(30.41, 56.78, 325.13°)
OKLaboklab(42.03% 0.1263 -0.0903)
OKLCHoklch(42.03% 0.155 324.4)
XYZxyz(11.4082, 6.4055, 19.3705)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74247B #2B7B24
analogous
#48247B #74247B #7B2456
triadic
#74247B #7B7424 #247B74
tetradic
#74247B #7B4824 #2B7B24 #24567B
square
#74247B #7B4824 #2B7B24 #24567B
split-complementary
#74247B #567B24 #247B48
monochromatic
#1B081C #47164C #74247B #A132AA #C14ECB

Accessibility & contrast

On white

9.21
#74247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74247B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74247B#FFFFFF#000000##FFFFFF
##74247B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#76324C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74247b;
/* rgb */ color: rgb(116, 36, 123);
/* oklch */ color: oklch(42.0% 0.155 324.4);
Tailwind
colors: {
  custom: {
    50: '#9f66a1',
    500: '#74247b',
    950: '#000000',
  },
}
SCSS
$custom: #74247b;
$custom-light: #9f66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74247b",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 295.172,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.15529,
    "h": 324.4
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#74247B
secondary
#55AD4D
accent
#DE4A56
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74247B

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

Preview Lab → · Contrast checker → · Palette generator →

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