#74279E#74279E

#74279E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 310.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#74279E
RGBrgb(116, 39, 158)
HSLhsl(279, 60%, 39%)
HSVhsv(279, 75%, 62%)
CMYKcmyk(26.6%, 75.3%, 0%, 38%)
CIE-LABlab(33.21, 52.58, -49.60)
CIE-LCHlch(33.21, 72.28, 316.67°)
OKLaboklab(44.77% 0.1199 -0.1405)
OKLCHoklch(44.77% 0.185 310.5)
XYZxyz(14.0983, 7.6330, 33.0718)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74279E #519E27
analogous
#39279E #74279E #9E278C
triadic
#74279E #9E7427 #279E74
tetradic
#74279E #9E3927 #519E27 #278C9E
square
#74279E #9E3927 #519E27 #278C9E
split-complementary
#74279E #8C9E27 #279E39
monochromatic
#2C0F3C #501B6D #74279E #9735CD #B166D9

Accessibility & contrast

On white

8.31
#74279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#74279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74279E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74279E#FFFFFF#000000##FFFFFF
##74279E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#6E4361
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #74279e;
/* rgb */ color: rgb(116, 39, 158);
/* oklch */ color: oklch(44.8% 0.185 310.5);
Tailwind
colors: {
  custom: {
    50: '#a069bb',
    500: '#74279e',
    950: '#000000',
  },
}
SCSS
$custom: #74279e;
$custom-light: #a069bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74279e",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 278.824,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4477,
    "c": 0.18468,
    "h": 310.5
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#74279E
secondary
#83BF62
accent
#E4447C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74279E

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

Preview Lab → · Contrast checker → · Palette generator →

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