#74207B#74207B

#74207B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 324.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#74207B
RGBrgb(116, 32, 123)
HSLhsl(295, 59%, 30%)
HSVhsv(295, 74%, 48%)
CMYKcmyk(5.7%, 74%, 0%, 51.8%)
CIE-LABlab(29.85, 48.16, -33.35)
CIE-LCHlch(29.85, 58.58, 325.30°)
OKLaboklab(41.63% 0.1307 -0.0928)
OKLCHoklch(41.63% 0.16 324.6)
XYZxyz(11.2938, 6.1768, 19.3324)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74207B #277B20
analogous
#47207B #74207B #7B2054
triadic
#74207B #7B7420 #207B74
tetradic
#74207B #7B4720 #277B20 #20547B
square
#74207B #7B4720 #277B20 #20547B
split-complementary
#74207B #547B20 #207B47
monochromatic
#18071A #46134A #74207B #A22DAC #C446CF

Accessibility & contrast

On white

9.40
#74207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#74207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74207B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74207B#FFFFFF#000000##FFFFFF
##74207B1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#762F4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74207b;
/* rgb */ color: rgb(116, 32, 123);
/* oklch */ color: oklch(41.6% 0.160 324.6);
Tailwind
colors: {
  custom: {
    50: '#9f64a1',
    500: '#74207b',
    950: '#000000',
  },
}
SCSS
$custom: #74207b;
$custom-light: #9f64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74207b",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 295.385,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.16032,
    "h": 324.6
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#74207B
secondary
#50AE49
accent
#E24652
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74207B

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

Preview Lab → · Contrast checker → · Palette generator →

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