#74276C#74276C

#74276C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.138 H 332.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#74276C
RGBrgb(116, 39, 108)
HSLhsl(306, 50%, 30%)
HSVhsv(306, 66%, 45%)
CMYKcmyk(0%, 66.4%, 6.9%, 54.5%)
CIE-LABlab(30.03, 42.54, -23.54)
CIE-LCHlch(30.03, 48.62, 331.04°)
OKLaboklab(41.47% 0.1219 -0.0645)
OKLCHoklch(41.47% 0.138 332.1)
XYZxyz(10.6348, 6.2476, 14.8302)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74276C #27742F
analogous
#552774 #74276C #742745
triadic
#74276C #6C7427 #276C74
tetradic
#74276C #745527 #27742F #274574
square
#74276C #745527 #27742F #274574
split-complementary
#74276C #457427 #277455
monochromatic
#180817 #461841 #74276C #A23697 #C451B8

Accessibility & contrast

On white

9.34
#74276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74276C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74276C#FFFFFF#000000##FFFFFF
##74276C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406E
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#792E46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74276c;
/* rgb */ color: rgb(116, 39, 108);
/* oklch */ color: oklch(41.5% 0.138 332.1);
Tailwind
colors: {
  custom: {
    50: '#9f6796',
    500: '#74276c',
    950: '#000000',
  },
}
SCSS
$custom: #74276c;
$custom-light: #9f6796;
$custom-dark: #000000;
JSON
{
  "hex": "#74276c",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 306.234,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.13787,
    "h": 332.1
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#74276C
secondary
#50A659
accent
#D95D4F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74276C

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

Preview Lab → · Contrast checker → · Palette generator →

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