#74339B#74339B

#74339B is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 310.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#74339B
RGBrgb(116, 51, 155)
HSLhsl(278, 50%, 40%)
HSVhsv(278, 67%, 61%)
CMYKcmyk(25.2%, 67.1%, 0%, 39.2%)
CIE-LABlab(34.90, 46.55, -45.05)
CIE-LCHlch(34.90, 64.78, 315.94°)
OKLaboklab(45.91% 0.1073 -0.1272)
OKLCHoklch(45.91% 0.166 310.2)
XYZxyz(14.3015, 8.4475, 31.8811)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339B #5A9B33
analogous
#40339B #74339B #9B338E
triadic
#74339B #9B7433 #339B74
tetradic
#74339B #9B4033 #5A9B33 #338E9B
square
#74339B #9B4033 #5A9B33 #338E9B
split-complementary
#74339B #8E9B33 #339B40
monochromatic
#2F153F #52246D #74339B #9548C3 #B076D2

Accessibility & contrast

On white

7.81
#74339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#74339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74339B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339B#FFFFFF#000000##FFFFFF
##74339B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#6F4862
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #74339b;
/* rgb */ color: rgb(116, 51, 155);
/* oklch */ color: oklch(45.9% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#9f6fb9',
    500: '#74339b',
    950: '#000000',
  },
}
SCSS
$custom: #74339b;
$custom-light: #9f6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#74339b",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 277.5,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45909,
    "c": 0.16645,
    "h": 310.2
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#74339B
secondary
#8CBA6F
accent
#DA4E82
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #74339B

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

Preview Lab → · Contrast checker → · Palette generator →

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