#74279A#74279A

#74279A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.181 H 311.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#74279A
RGBrgb(116, 39, 154)
HSLhsl(280, 60%, 38%)
HSVhsv(280, 75%, 60%)
CMYKcmyk(24.7%, 74.7%, 0%, 39.6%)
CIE-LABlab(32.91, 51.70, -47.64)
CIE-LCHlch(32.91, 70.31, 317.34°)
OKLaboklab(44.47% 0.1205 -0.1348)
OKLCHoklch(44.47% 0.181 311.8)
XYZxyz(13.7596, 7.4975, 31.2879)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74279A #4D9A27
analogous
#3B279A #74279A #9A2786
triadic
#74279A #9A7427 #279A74
tetradic
#74279A #9A3B27 #4D9A27 #27869A
square
#74279A #9A3B27 #4D9A27 #27869A
split-complementary
#74279A #869A27 #279A3B
monochromatic
#2A0E38 #4F1B69 #74279A #9933CB #B164D8

Accessibility & contrast

On white

8.40
#74279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#74279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74279A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74279A#FFFFFF#000000##FFFFFF
##74279A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#164F98
Tritanopia (blue-blind)
#6F415E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #74279a;
/* rgb */ color: rgb(116, 39, 154);
/* oklch */ color: oklch(44.5% 0.181 311.8);
Tailwind
colors: {
  custom: {
    50: '#a069b8',
    500: '#74279a',
    950: '#000000',
  },
}
SCSS
$custom: #74279a;
$custom-light: #a069b8;
$custom-dark: #000000;
JSON
{
  "hex": "#74279a",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 280.174,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.18079,
    "h": 311.8
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#74279A
secondary
#7EBD5F
accent
#E34579
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #74279A

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

Preview Lab → · Contrast checker → · Palette generator →

#74279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva