#74339F#74339F

#74339F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.171 H 308.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#74339F
RGBrgb(116, 51, 159)
HSLhsl(276, 51%, 41%)
HSVhsv(276, 68%, 62%)
CMYKcmyk(27%, 67.9%, 0%, 37.6%)
CIE-LABlab(35.17, 47.48, -47.03)
CIE-LCHlch(35.17, 66.83, 315.27°)
OKLaboklab(46.19% 0.107 -0.133)
OKLCHoklch(46.19% 0.171 308.8)
XYZxyz(14.6430, 8.5841, 33.6797)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339F #5E9F33
analogous
#3E339F #74339F #9F3394
triadic
#74339F #9F7433 #339F74
tetradic
#74339F #9F3E33 #5E9F33 #33949F
square
#74339F #9F3E33 #5E9F33 #33949F
split-complementary
#74339F #949F33 #339F3E
monochromatic
#301542 #522471 #74339F #944AC5 #B079D4

Accessibility & contrast

On white

7.73
#74339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#74339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74339F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339F#FFFFFF#000000##FFFFFF
##74339F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#6E4A65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #74339f;
/* rgb */ color: rgb(116, 51, 159);
/* oklch */ color: oklch(46.2% 0.171 308.8);
Tailwind
colors: {
  custom: {
    50: '#a070bc',
    500: '#74339f',
    950: '#000000',
  },
}
SCSS
$custom: #74339f;
$custom-light: #a070bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74339f",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 276.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.17072,
    "h": 308.8
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#74339F
secondary
#8FBC71
accent
#DB4D85
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #74339F

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

Preview Lab → · Contrast checker → · Palette generator →

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