#74339D#74339D

#74339D is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 309.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#74339D
RGBrgb(116, 51, 157)
HSLhsl(277, 51%, 41%)
HSVhsv(277, 68%, 62%)
CMYKcmyk(26.1%, 67.5%, 0%, 38.4%)
CIE-LABlab(35.03, 47.01, -46.04)
CIE-LCHlch(35.03, 65.81, 315.60°)
OKLaboklab(46.05% 0.1072 -0.1301)
OKLCHoklch(46.05% 0.169 309.5)
XYZxyz(14.4709, 8.5153, 32.7730)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339D #5C9D33
analogous
#3F339D #74339D #9D3391
triadic
#74339D #9D7433 #339D74
tetradic
#74339D #9D3F33 #5C9D33 #33919D
square
#74339D #9D3F33 #5C9D33 #33919D
split-complementary
#74339D #919D33 #339D3F
monochromatic
#301541 #52246F #74339D #9449C4 #B077D3

Accessibility & contrast

On white

7.77
#74339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#74339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74339D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339D#FFFFFF#000000##FFFFFF
##74339D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#22539B
Tritanopia (blue-blind)
#6E4964
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #74339d;
/* rgb */ color: rgb(116, 51, 157);
/* oklch */ color: oklch(46.1% 0.169 309.5);
Tailwind
colors: {
  custom: {
    50: '#a06fbb',
    500: '#74339d',
    950: '#000000',
  },
}
SCSS
$custom: #74339d;
$custom-light: #a06fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#74339d",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 276.792,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.16859,
    "h": 309.5
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#74339D
secondary
#8DBB70
accent
#DA4D84
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #74339D

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

Preview Lab → · Contrast checker → · Palette generator →

#74339D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva