#74186C#74186C

#74186C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.157 H 332.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#74186C
RGBrgb(116, 24, 108)
HSLhsl(305, 66%, 27%)
HSVhsv(305, 79%, 45%)
CMYKcmyk(0%, 79.3%, 6.9%, 54.5%)
CIE-LABlab(27.98, 48.32, -26.77)
CIE-LCHlch(27.98, 55.24, 331.01°)
OKLaboklab(40% 0.1386 -0.0737)
OKLCHoklch(40% 0.157 332)
XYZxyz(10.2359, 5.4498, 14.6973)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74186C #187420
analogous
#4E1874 #74186C #74183E
triadic
#74186C #6C7418 #186C74
tetradic
#74186C #744E18 #187420 #183E74
square
#74186C #744E18 #187420 #183E74
split-complementary
#74186C #3E7418 #18744E
monochromatic
#190518 #410E3D #74186C #A7229B #D532C6

Accessibility & contrast

On white

10.05
#74186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#74186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74186C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74186C#FFFFFF#000000##FFFFFF
##74186C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6E
Deuteranopia (green-blind)
#37476A
Tritanopia (blue-blind)
#792341
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74186c;
/* rgb */ color: rgb(116, 24, 108);
/* oklch */ color: oklch(40.0% 0.157 332.0);
Tailwind
colors: {
  custom: {
    50: '#9f6196',
    500: '#74186c',
    950: '#000000',
  },
}
SCSS
$custom: #74186c;
$custom-light: #9f6196;
$custom-dark: #000000;
JSON
{
  "hex": "#74186c",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 305.217,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.15699,
    "h": 332
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#74186C
secondary
#3FA948
accent
#E94E3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74186C

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

Preview Lab → · Contrast checker → · Palette generator →

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