#74188F#74188F

#74188F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.186 H 316.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#74188F
RGBrgb(116, 24, 143)
HSLhsl(286, 71%, 33%)
HSVhsv(286, 83%, 56%)
CMYKcmyk(18.9%, 83.2%, 0%, 43.9%)
CIE-LABlab(30.28, 54.70, -45.16)
CIE-LCHlch(30.28, 70.93, 320.46°)
OKLaboklab(42.36% 0.1356 -0.1273)
OKLCHoklch(42.36% 0.186 316.8)
XYZxyz(12.4863, 6.3500, 26.5492)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74188F #338F18
analogous
#39188F #74188F #8F186E
triadic
#74188F #8F7418 #188F74
tetradic
#74188F #8F3918 #338F18 #186E8F
square
#74188F #8F3918 #338F18 #186E8F
split-complementary
#74188F #6E8F18 #188F39
monochromatic
#1F0626 #490F5B #74188F #9F21C3 #BC42DF

Accessibility & contrast

On white

9.25
#74188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#74188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74188F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74188F#FFFFFF#000000##FFFFFF
##74188F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#723555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74188f;
/* rgb */ color: rgb(116, 24, 143);
/* oklch */ color: oklch(42.4% 0.186 316.8);
Tailwind
colors: {
  custom: {
    50: '#a062b0',
    500: '#74188f',
    950: '#000000',
  },
}
SCSS
$custom: #74188f;
$custom-light: #a062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74188f",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 286.387,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.186,
    "h": 316.8
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#74188F
secondary
#5FC043
accent
#EE3A63
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74188F

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

Preview Lab → · Contrast checker → · Palette generator →

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