#74208C#74208C

#74208C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 317.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#74208C
RGBrgb(116, 32, 140)
HSLhsl(287, 63%, 34%)
HSVhsv(287, 77%, 55%)
CMYKcmyk(17.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(30.97, 51.47, -42.18)
CIE-LCHlch(30.97, 66.55, 320.67°)
OKLaboklab(42.78% 0.1293 -0.1187)
OKLCHoklch(42.78% 0.176 317.5)
XYZxyz(12.4519, 6.6400, 25.4316)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74208C #388C20
analogous
#3E208C #74208C #8C206E
triadic
#74208C #8C7420 #208C74
tetradic
#74208C #8C3E20 #388C20 #206E8C
square
#74208C #8C3E20 #388C20 #206E8C
split-complementary
#74208C #6E8C20 #208C3E
monochromatic
#210928 #4B155A #74208C #9D2BBE #B950D7

Accessibility & contrast

On white

9.02
#74208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#74208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74208C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74208C#FFFFFF#000000##FFFFFF
##74208C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#733755
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74208c;
/* rgb */ color: rgb(116, 32, 140);
/* oklch */ color: oklch(42.8% 0.176 317.5);
Tailwind
colors: {
  custom: {
    50: '#a065ae',
    500: '#74208c',
    950: '#000000',
  },
}
SCSS
$custom: #74208c;
$custom-light: #a065ae;
$custom-dark: #000000;
JSON
{
  "hex": "#74208c",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 286.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.17552,
    "h": 317.5
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#74208C
secondary
#66BA4E
accent
#E64266
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74208C

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

Preview Lab → · Contrast checker → · Palette generator →

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