#74309A#74309A

#74309A is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 310.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#74309A
RGBrgb(116, 48, 154)
HSLhsl(278, 52%, 40%)
HSVhsv(278, 69%, 60%)
CMYKcmyk(24.7%, 68.8%, 0%, 39.6%)
CIE-LABlab(34.31, 47.76, -45.38)
CIE-LCHlch(34.31, 65.88, 316.46°)
OKLaboklab(45.47% 0.1109 -0.1282)
OKLCHoklch(45.47% 0.17 310.9)
XYZxyz(14.0910, 8.1603, 31.3984)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74309A #569A30
analogous
#3F309A #74309A #9A308B
triadic
#74309A #9A7430 #309A74
tetradic
#74309A #9A3F30 #569A30 #308B9A
square
#74309A #9A3F30 #569A30 #308B9A
split-complementary
#74309A #8B9A30 #309A3F
monochromatic
#2E133D #51216B #74309A #9643C4 #B072D3

Accessibility & contrast

On white

7.98
#74309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#74309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74309A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74309A#FFFFFF#000000##FFFFFF
##74309A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#6F4661
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #74309a;
/* rgb */ color: rgb(116, 48, 154);
/* oklch */ color: oklch(45.5% 0.170 310.9);
Tailwind
colors: {
  custom: {
    50: '#a06eb8',
    500: '#74309a',
    950: '#000000',
  },
}
SCSS
$custom: #74309a;
$custom-light: #a06eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#74309a",
  "rgb": {
    "r": 116,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 278.491,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.1695,
    "h": 310.9
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#74309A
secondary
#88BB6B
accent
#DC4C80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #74309A

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

Preview Lab → · Contrast checker → · Palette generator →

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