#74276F#74276F

#74276F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.140 H 330.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#74276F
RGBrgb(116, 39, 111)
HSLhsl(304, 50%, 30%)
HSVhsv(304, 66%, 45%)
CMYKcmyk(0%, 66.4%, 4.3%, 54.5%)
CIE-LABlab(30.19, 43.07, -25.21)
CIE-LCHlch(30.19, 49.91, 329.66°)
OKLaboklab(41.64% 0.1222 -0.0693)
OKLCHoklch(41.64% 0.14 330.4)
XYZxyz(10.7972, 6.3125, 15.6856)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74276F #27742C
analogous
#522774 #74276F #742748
triadic
#74276F #6F7427 #276F74
tetradic
#74276F #745227 #27742C #274874
square
#74276F #745227 #27742C #274874
split-complementary
#74276F #487427 #277452
monochromatic
#180817 #461843 #74276F #A2369B #C451BD

Accessibility & contrast

On white

9.28
#74276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#74276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74276F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74276F#FFFFFF#000000##FFFFFF
##74276F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#782F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74276f;
/* rgb */ color: rgb(116, 39, 111);
/* oklch */ color: oklch(41.6% 0.140 330.4);
Tailwind
colors: {
  custom: {
    50: '#9f6798',
    500: '#74276f',
    950: '#000000',
  },
}
SCSS
$custom: #74276f;
$custom-light: #9f6798;
$custom-dark: #000000;
JSON
{
  "hex": "#74276f",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 303.896,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.14046,
    "h": 330.4
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#74276F
secondary
#50A656
accent
#D9584F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #74276F

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

Preview Lab → · Contrast checker → · Palette generator →

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