#74339C#74339C

#74339C is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.168 H 309.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#74339C
RGBrgb(116, 51, 156)
HSLhsl(277, 51%, 41%)
HSVhsv(277, 67%, 61%)
CMYKcmyk(25.6%, 67.3%, 0%, 38.8%)
CIE-LABlab(34.97, 46.78, -45.55)
CIE-LCHlch(34.97, 65.29, 315.77°)
OKLaboklab(45.98% 0.1073 -0.1287)
OKLCHoklch(45.98% 0.168 309.8)
XYZxyz(14.3859, 8.4812, 32.3252)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339C #5B9C33
analogous
#3F339C #74339C #9C338F
triadic
#74339C #9C7433 #339C74
tetradic
#74339C #9C3F33 #5B9C33 #338F9C
square
#74339C #9C3F33 #5B9C33 #338F9C
split-complementary
#74339C #8F9C33 #339C3F
monochromatic
#2F1540 #52246E #74339C #9549C3 #B077D3

Accessibility & contrast

On white

7.79
#74339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74339C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339C#FFFFFF#000000##FFFFFF
##74339C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#23539A
Tritanopia (blue-blind)
#6E4963
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #74339c;
/* rgb */ color: rgb(116, 51, 156);
/* oklch */ color: oklch(46.0% 0.168 309.8);
Tailwind
colors: {
  custom: {
    50: '#a06fba',
    500: '#74339c',
    950: '#000000',
  },
}
SCSS
$custom: #74339c;
$custom-light: #a06fba;
$custom-dark: #000000;
JSON
{
  "hex": "#74339c",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 277.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.16751,
    "h": 309.8
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#74339C
secondary
#8CBB70
accent
#DA4E83
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #74339C

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

Preview Lab → · Contrast checker → · Palette generator →

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