#74277B#74277B

#74277B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 324.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#74277B
RGBrgb(116, 39, 123)
HSLhsl(295, 52%, 32%)
HSVhsv(295, 68%, 48%)
CMYKcmyk(5.7%, 68.3%, 0%, 51.8%)
CIE-LABlab(30.87, 45.31, -31.74)
CIE-LCHlch(30.87, 55.32, 324.99°)
OKLaboklab(42.35% 0.1228 -0.0882)
OKLCHoklch(42.35% 0.151 324.3)
XYZxyz(11.5028, 6.5948, 19.4021)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74277B #2E7B27
analogous
#4A277B #74277B #7B2758
triadic
#74277B #7B7427 #277B74
tetradic
#74277B #7B4A27 #2E7B27 #27587B
square
#74277B #7B4A27 #2E7B27 #27587B
split-complementary
#74277B #587B27 #277B4A
monochromatic
#1C0A1E #48184D #74277B #A036A9 #BF54C9

Accessibility & contrast

On white

9.06
#74277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#74277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74277B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74277B#FFFFFF#000000##FFFFFF
##74277B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#76344D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74277b;
/* rgb */ color: rgb(116, 39, 123);
/* oklch */ color: oklch(42.4% 0.151 324.3);
Tailwind
colors: {
  custom: {
    50: '#9f68a1',
    500: '#74277b',
    950: '#000000',
  },
}
SCSS
$custom: #74277b;
$custom-light: #9f68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74277b",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 295,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.15123,
    "h": 324.3
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#74277B
secondary
#59AD51
accent
#DB4C58
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74277B

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

Preview Lab → · Contrast checker → · Palette generator →

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