#74188E#74188E

#74188E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.185 H 317.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#74188E
RGBrgb(116, 24, 142)
HSLhsl(287, 71%, 33%)
HSVhsv(287, 83%, 56%)
CMYKcmyk(18.3%, 83.1%, 0%, 44.3%)
CIE-LABlab(30.21, 54.50, -44.66)
CIE-LCHlch(30.21, 70.46, 320.67°)
OKLaboklab(42.28% 0.1358 -0.1259)
OKLCHoklch(42.28% 0.185 317.2)
XYZxyz(12.4109, 6.3198, 26.1520)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74188E #328E18
analogous
#39188E #74188E #8E186D
triadic
#74188E #8E7418 #188E74
tetradic
#74188E #8E3918 #328E18 #186D8E
square
#74188E #8E3918 #328E18 #186D8E
split-complementary
#74188E #6D8E18 #188E39
monochromatic
#1E0625 #490F5A #74188E #9F21C2 #BC41DF

Accessibility & contrast

On white

9.28
#74188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#74188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74188E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74188E#FFFFFF#000000##FFFFFF
##74188E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#733454
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74188e;
/* rgb */ color: rgb(116, 24, 142);
/* oklch */ color: oklch(42.3% 0.185 317.2);
Tailwind
colors: {
  custom: {
    50: '#a062b0',
    500: '#74188e',
    950: '#000000',
  },
}
SCSS
$custom: #74188e;
$custom-light: #a062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74188e",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 286.78,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.18514,
    "h": 317.2
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#74188E
secondary
#5EC042
accent
#EE3A62
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74188E

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

Preview Lab → · Contrast checker → · Palette generator →

#74188E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva