#74166B#74166B

#74166B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.158 H 332.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#74166B
RGBrgb(116, 22, 107)
HSLhsl(306, 68%, 27%)
HSVhsv(306, 81%, 45%)
CMYKcmyk(0%, 81%, 7.8%, 54.5%)
CIE-LABlab(27.71, 48.77, -26.55)
CIE-LCHlch(27.71, 55.53, 331.43°)
OKLaboklab(39.78% 0.1404 -0.073)
OKLCHoklch(39.78% 0.158 332.5)
XYZxyz(10.1433, 5.3492, 14.4054)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74166B #16741F
analogous
#4E1674 #74166B #74163C
triadic
#74166B #6B7416 #166B74
tetradic
#74166B #744E16 #16741F #163C74
square
#74166B #744E16 #16741F #163C74
split-complementary
#74166B #3C7416 #16744E
monochromatic
#1A0518 #410C3C #74166B #A7209A #D72DC7

Accessibility & contrast

On white

10.15
#74166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#74166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74166B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74166B#FFFFFF#000000##FFFFFF
##74166B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396D
Deuteranopia (green-blind)
#364669
Tritanopia (blue-blind)
#792140
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74166b;
/* rgb */ color: rgb(116, 22, 107);
/* oklch */ color: oklch(39.8% 0.158 332.5);
Tailwind
colors: {
  custom: {
    50: '#9f6096',
    500: '#74166b',
    950: '#000000',
  },
}
SCSS
$custom: #74166b;
$custom-light: #9f6096;
$custom-dark: #000000;
JSON
{
  "hex": "#74166b",
  "rgb": {
    "r": 116,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 305.745,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.15827,
    "h": 332.5
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#74166B
secondary
#3CAA47
accent
#EB4D3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74166B

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

Preview Lab → · Contrast checker → · Palette generator →

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