#74309F#74309F

#74309F is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.175 H 309.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#74309F
RGBrgb(116, 48, 159)
HSLhsl(277, 54%, 41%)
HSVhsv(277, 70%, 62%)
CMYKcmyk(27%, 69.8%, 0%, 37.6%)
CIE-LABlab(34.66, 48.90, -47.85)
CIE-LCHlch(34.66, 68.42, 315.62°)
OKLaboklab(45.83% 0.1104 -0.1354)
OKLCHoklch(45.83% 0.175 309.2)
XYZxyz(14.5162, 8.3304, 33.6374)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74309F #5B9F30
analogous
#3D309F #74309F #9F3092
triadic
#74309F #9F7430 #309F74
tetradic
#74309F #9F3D30 #5B9F30 #30929F
square
#74309F #9F3D30 #5B9F30 #30929F
split-complementary
#74309F #929F30 #309F3D
monochromatic
#2F1441 #522270 #74309F #9545C7 #B074D5

Accessibility & contrast

On white

7.88
#74309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#74309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74309F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74309F#FFFFFF#000000##FFFFFF
##74309F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#1A529D
Tritanopia (blue-blind)
#6E4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #74309f;
/* rgb */ color: rgb(116, 48, 159);
/* oklch */ color: oklch(45.8% 0.175 309.2);
Tailwind
colors: {
  custom: {
    50: '#a06ebc',
    500: '#74309f',
    950: '#000000',
  },
}
SCSS
$custom: #74309f;
$custom-light: #a06ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#74309f",
  "rgb": {
    "r": 116,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 276.757,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.17472,
    "h": 309.2
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#74309F
secondary
#8CBD6E
accent
#DD4B83
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74309F

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

Preview Lab → · Contrast checker → · Palette generator →

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