#74287E#74287E

#74287E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.153 H 322.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#74287E
RGBrgb(116, 40, 126)
HSLhsl(293, 52%, 33%)
HSVhsv(293, 68%, 49%)
CMYKcmyk(7.9%, 68.3%, 0%, 50.6%)
CIE-LABlab(31.20, 45.46, -33.09)
CIE-LCHlch(31.20, 56.23, 323.95°)
OKLaboklab(42.65% 0.1217 -0.0922)
OKLCHoklch(42.65% 0.153 322.9)
XYZxyz(11.7268, 6.7376, 20.4174)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74287E #327E28
analogous
#49287E #74287E #7E285D
triadic
#74287E #7E7428 #287E74
tetradic
#74287E #7E4928 #327E28 #285D7E
square
#74287E #7E4928 #327E28 #285D7E
split-complementary
#74287E #5D7E28 #287E49
monochromatic
#1E0B21 #491950 #74287E #9F37AC #BC57CA

Accessibility & contrast

On white

8.95
#74287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#74287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74287E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74287E#FFFFFF#000000##FFFFFF
##74287E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#76364F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74287e;
/* rgb */ color: rgb(116, 40, 126);
/* oklch */ color: oklch(42.7% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#9f68a4',
    500: '#74287e',
    950: '#000000',
  },
}
SCSS
$custom: #74287e;
$custom-light: #9f68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74287e",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 293.023,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.15263,
    "h": 322.9
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#74287E
secondary
#5EAF53
accent
#DB4D5D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #74287E

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

Preview Lab → · Contrast checker → · Palette generator →

#74287E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva