#74248C#74248C

#74248C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.171 H 317.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#74248C
RGBrgb(116, 36, 140)
HSLhsl(286, 59%, 35%)
HSVhsv(286, 74%, 55%)
CMYKcmyk(17.1%, 74.3%, 0%, 45.1%)
CIE-LABlab(31.51, 49.95, -41.32)
CIE-LCHlch(31.51, 64.83, 320.40°)
OKLaboklab(43.16% 0.1254 -0.1162)
OKLCHoklch(43.16% 0.171 317.2)
XYZxyz(12.5663, 6.8687, 25.4697)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74248C #3C8C24
analogous
#40248C #74248C #8C2470
triadic
#74248C #8C7424 #248C74
tetradic
#74248C #8C4024 #3C8C24 #24708C
square
#74248C #8C4024 #3C8C24 #24708C
split-complementary
#74248C #708C24 #248C40
monochromatic
#230B2B #4C175B #74248C #9C31BD #B757D4

Accessibility & contrast

On white

8.85
#74248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74248C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74248C#FFFFFF#000000##FFFFFF
##74248C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#733956
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74248c;
/* rgb */ color: rgb(116, 36, 140);
/* oklch */ color: oklch(43.2% 0.171 317.2);
Tailwind
colors: {
  custom: {
    50: '#a067ae',
    500: '#74248c',
    950: '#000000',
  },
}
SCSS
$custom: #74248c;
$custom-light: #a067ae;
$custom-dark: #000000;
JSON
{
  "hex": "#74248c",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 286.154,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.17095,
    "h": 317.2
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#74248C
secondary
#6BB854
accent
#E2466A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74248C

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

Preview Lab → · Contrast checker → · Palette generator →

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