#74279F#74279F

#74279F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.186 H 310.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#74279F
RGBrgb(116, 39, 159)
HSLhsl(279, 61%, 39%)
HSVhsv(279, 75%, 62%)
CMYKcmyk(27%, 75.5%, 0%, 37.6%)
CIE-LABlab(33.28, 52.80, -50.09)
CIE-LCHlch(33.28, 72.78, 316.51°)
OKLaboklab(44.85% 0.1197 -0.1419)
OKLCHoklch(44.85% 0.186 310.1)
XYZxyz(14.1848, 7.6676, 33.5269)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74279F #529F27
analogous
#38279F #74279F #9F278E
triadic
#74279F #9F7427 #279F74
tetradic
#74279F #9F3827 #529F27 #278E9F
square
#74279F #9F3827 #529F27 #278E9F
split-complementary
#74279F #8E9F27 #279F38
monochromatic
#2C0F3D #501B6E #74279F #9736CE #B067DA

Accessibility & contrast

On white

8.29
#74279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74279F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74279F#FFFFFF#000000##FFFFFF
##74279F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#6E4361
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #74279f;
/* rgb */ color: rgb(116, 39, 159);
/* oklch */ color: oklch(44.8% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#a069bc',
    500: '#74279f',
    950: '#000000',
  },
}
SCSS
$custom: #74279f;
$custom-light: #a069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74279f",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 278.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.18566,
    "h": 310.1
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#74279F
secondary
#84C062
accent
#E4447D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74279F

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

Preview Lab → · Contrast checker → · Palette generator →

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