#74339E#74339E

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

Color values

HEX#74339E
RGBrgb(116, 51, 158)
HSLhsl(276, 51%, 41%)
HSVhsv(276, 68%, 62%)
CMYKcmyk(26.6%, 67.7%, 0%, 38%)
CIE-LABlab(35.10, 47.24, -46.54)
CIE-LCHlch(35.10, 66.32, 315.43°)
OKLaboklab(46.12% 0.1071 -0.1316)
OKLCHoklch(46.12% 0.17 309.1)
XYZxyz(14.5566, 8.5495, 33.2245)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339E #5D9E33
analogous
#3F339E #74339E #9E3392
triadic
#74339E #9E7433 #339E74
tetradic
#74339E #9E3F33 #5D9E33 #33929E
square
#74339E #9E3F33 #5D9E33 #33929E
split-complementary
#74339E #929E33 #339E3F
monochromatic
#301541 #522470 #74339E #944AC4 #B078D3

Accessibility & contrast

On white

7.75
#74339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#74339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74339E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339E#FFFFFF#000000##FFFFFF
##74339E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#20539C
Tritanopia (blue-blind)
#6E4A64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #74339e;
/* rgb */ color: rgb(116, 51, 158);
/* oklch */ color: oklch(46.1% 0.170 309.1);
Tailwind
colors: {
  custom: {
    50: '#a06fbb',
    500: '#74339e',
    950: '#000000',
  },
}
SCSS
$custom: #74339e;
$custom-light: #a06fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#74339e",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 276.449,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.16965,
    "h": 309.1
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #74339E

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

Preview Lab → · Contrast checker → · Palette generator →

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