#74186B#74186B

#74186B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.156 H 332.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#74186B
RGBrgb(116, 24, 107)
HSLhsl(306, 66%, 27%)
HSVhsv(306, 79%, 45%)
CMYKcmyk(0%, 79.3%, 7.8%, 54.5%)
CIE-LABlab(27.92, 48.15, -26.21)
CIE-LCHlch(27.92, 54.82, 331.44°)
OKLaboklab(39.94% 0.1386 -0.0721)
OKLCHoklch(39.94% 0.156 332.5)
XYZxyz(10.1830, 5.4287, 14.4186)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74186B #187421
analogous
#4F1874 #74186B #74183D
triadic
#74186B #6B7418 #186B74
tetradic
#74186B #744F18 #187421 #183D74
square
#74186B #744F18 #187421 #183D74
split-complementary
#74186B #3D7418 #18744F
monochromatic
#190517 #410E3C #74186B #A7229A #D532C5

Accessibility & contrast

On white

10.07
#74186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74186B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74186B#FFFFFF#000000##FFFFFF
##74186B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123A6D
Deuteranopia (green-blind)
#374669
Tritanopia (blue-blind)
#792340
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74186b;
/* rgb */ color: rgb(116, 24, 107);
/* oklch */ color: oklch(39.9% 0.156 332.5);
Tailwind
colors: {
  custom: {
    50: '#9f6095',
    500: '#74186b',
    950: '#000000',
  },
}
SCSS
$custom: #74186b;
$custom-light: #9f6095;
$custom-dark: #000000;
JSON
{
  "hex": "#74186b",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 305.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.15622,
    "h": 332.5
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#74186B
secondary
#3FA949
accent
#E9503F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74186B

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

Preview Lab → · Contrast checker → · Palette generator →

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