#74278B#74278B

#74278B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.166 H 317.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#74278B
RGBrgb(116, 39, 139)
HSLhsl(286, 56%, 35%)
HSVhsv(286, 72%, 55%)
CMYKcmyk(16.5%, 71.9%, 0%, 45.5%)
CIE-LABlab(31.87, 48.52, -40.12)
CIE-LCHlch(31.87, 62.95, 320.41°)
OKLaboklab(43.4% 0.1223 -0.1127)
OKLCHoklch(43.4% 0.166 317.3)
XYZxyz(12.5875, 7.0287, 25.1147)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74278B #3E8B27
analogous
#42278B #74278B #8B2770
triadic
#74278B #8B7427 #278B74
tetradic
#74278B #8B4227 #3E8B27 #27708B
square
#74278B #8B4227 #3E8B27 #27708B
split-complementary
#74278B #708B27 #278B42
monochromatic
#240C2B #4C1A5B #74278B #9C34BB #B65BD1

Accessibility & contrast

On white

8.73
#74278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#74278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74278B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74278B#FFFFFF#000000##FFFFFF
##74278B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2A4D89
Tritanopia (blue-blind)
#733B56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74278b;
/* rgb */ color: rgb(116, 39, 139);
/* oklch */ color: oklch(43.4% 0.166 317.3);
Tailwind
colors: {
  custom: {
    50: '#9f68ad',
    500: '#74278b',
    950: '#000000',
  },
}
SCSS
$custom: #74278b;
$custom-light: #9f68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74278b",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 286.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.1663,
    "h": 317.3
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#74278B
secondary
#6DB658
accent
#DF486B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74278B

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

Preview Lab → · Contrast checker → · Palette generator →

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