#74299F#74299F

#74299F is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.183 H 309.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#74299F
RGBrgb(116, 41, 159)
HSLhsl(278, 59%, 39%)
HSVhsv(278, 74%, 62%)
CMYKcmyk(27%, 74.2%, 0%, 37.6%)
CIE-LABlab(33.57, 51.98, -49.62)
CIE-LCHlch(33.57, 71.86, 316.33°)
OKLaboklab(45.05% 0.1177 -0.1406)
OKLCHoklch(45.05% 0.183 309.9)
XYZxyz(14.2522, 7.8024, 33.5494)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74299F #549F29
analogous
#39299F #74299F #9F298F
triadic
#74299F #9F7429 #299F74
tetradic
#74299F #9F3929 #549F29 #298F9F
square
#74299F #9F3929 #549F29 #298F9F
split-complementary
#74299F #8F9F29 #299F39
monochromatic
#2D103E #511C6E #74299F #9739CC #B06AD9

Accessibility & contrast

On white

8.20
#74299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#74299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74299F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74299F#FFFFFF#000000##FFFFFF
##74299F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#6E4462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #74299f;
/* rgb */ color: rgb(116, 41, 159);
/* oklch */ color: oklch(45.0% 0.183 309.9);
Tailwind
colors: {
  custom: {
    50: '#a06abc',
    500: '#74299f',
    950: '#000000',
  },
}
SCSS
$custom: #74299f;
$custom-light: #a06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#74299f",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 278.136,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.18337,
    "h": 309.9
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#74299F
secondary
#86BF65
accent
#E2467F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74299F

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

Preview Lab → · Contrast checker → · Palette generator →

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