#74299E#74299E

#74299E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.182 H 310.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#74299E
RGBrgb(116, 41, 158)
HSLhsl(278, 59%, 39%)
HSVhsv(278, 74%, 62%)
CMYKcmyk(26.6%, 74.1%, 0%, 38%)
CIE-LABlab(33.49, 51.76, -49.14)
CIE-LCHlch(33.49, 71.37, 316.49°)
OKLaboklab(44.97% 0.1179 -0.1392)
OKLCHoklch(44.97% 0.182 310.3)
XYZxyz(14.1657, 7.7678, 33.0942)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74299E #539E29
analogous
#3A299E #74299E #9E298E
triadic
#74299E #9E7429 #299E74
tetradic
#74299E #9E3A29 #539E29 #298E9E
square
#74299E #9E3A29 #539E29 #298E9E
split-complementary
#74299E #8E9E29 #299E3A
monochromatic
#2D103D #501C6D #74299E #9739CC #B069D8

Accessibility & contrast

On white

8.22
#74299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#74299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74299E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74299E#FFFFFF#000000##FFFFFF
##74299E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#6E4461
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #74299e;
/* rgb */ color: rgb(116, 41, 158);
/* oklch */ color: oklch(45.0% 0.182 310.3);
Tailwind
colors: {
  custom: {
    50: '#a06abb',
    500: '#74299e',
    950: '#000000',
  },
}
SCSS
$custom: #74299e;
$custom-light: #a06abb;
$custom-dark: #000000;
JSON
{
  "hex": "#74299e",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 278.462,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.18238,
    "h": 310.3
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#74299E
secondary
#85BF64
accent
#E2467E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74299E

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

Preview Lab → · Contrast checker → · Palette generator →

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