#74248B#74248B

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

Color values

HEX#74248B
RGBrgb(116, 36, 139)
HSLhsl(287, 59%, 34%)
HSVhsv(287, 74%, 55%)
CMYKcmyk(16.5%, 74.1%, 0%, 45.5%)
CIE-LABlab(31.44, 49.74, -40.81)
CIE-LCHlch(31.44, 64.35, 320.63°)
OKLaboklab(43.09% 0.1255 -0.1147)
OKLCHoklch(43.09% 0.17 317.6)
XYZxyz(12.4929, 6.8394, 25.0832)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74248B #3B8B24
analogous
#41248B #74248B #8B246F
triadic
#74248B #8B7424 #248B74
tetradic
#74248B #8B4124 #3B8B24 #246F8B
square
#74248B #8B4124 #3B8B24 #246F8B
split-complementary
#74248B #6F8B24 #248B41
monochromatic
#230B2A #4B175A #74248B #9D31BC #B756D3

Accessibility & contrast

On white

8.87
#74248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74248B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74248B#FFFFFF#000000##FFFFFF
##74248B1.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)
#00458E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#733955
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74248b;
/* rgb */ color: rgb(116, 36, 139);
/* oklch */ color: oklch(43.1% 0.170 317.6);
Tailwind
colors: {
  custom: {
    50: '#9f67ad',
    500: '#74248b',
    950: '#000000',
  },
}
SCSS
$custom: #74248b;
$custom-light: #9f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74248b",
  "rgb": {
    "r": 116,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 286.602,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.17001,
    "h": 317.6
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#74248B
secondary
#6AB753
accent
#E24669
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74248B

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

Preview Lab → · Contrast checker → · Palette generator →

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