#74309B#74309B

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

Color values

HEX#74309B
RGBrgb(116, 48, 155)
HSLhsl(278, 53%, 40%)
HSVhsv(278, 69%, 61%)
CMYKcmyk(25.2%, 69%, 0%, 39.2%)
CIE-LABlab(34.38, 47.98, -45.88)
CIE-LCHlch(34.38, 66.39, 316.28°)
OKLaboklab(45.54% 0.1108 -0.1296)
OKLCHoklch(45.54% 0.171 310.5)
XYZxyz(14.1747, 8.1938, 31.8388)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74309B #579B30
analogous
#3F309B #74309B #9B308C
triadic
#74309B #9B7430 #309B74
tetradic
#74309B #9B3F30 #579B30 #308C9B
square
#74309B #9B3F30 #579B30 #308C9B
split-complementary
#74309B #8C9B30 #309B3F
monochromatic
#2E133E #51226C #74309B #9643C5 #B072D3

Accessibility & contrast

On white

7.96
#74309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#74309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74309B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74309B#FFFFFF#000000##FFFFFF
##74309B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#6F4762
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #74309b;
/* rgb */ color: rgb(116, 48, 155);
/* oklch */ color: oklch(45.5% 0.171 310.5);
Tailwind
colors: {
  custom: {
    50: '#a06eb9',
    500: '#74309b',
    950: '#000000',
  },
}
SCSS
$custom: #74309b;
$custom-light: #a06eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#74309b",
  "rgb": {
    "r": 116,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 278.131,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.17054,
    "h": 310.5
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#74309B
secondary
#89BB6C
accent
#DC4C80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #74309B

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

Preview Lab → · Contrast checker → · Palette generator →

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