#74339A#74339A

#74339A is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 310.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#74339A
RGBrgb(116, 51, 154)
HSLhsl(278, 50%, 40%)
HSVhsv(278, 67%, 60%)
CMYKcmyk(24.7%, 66.9%, 0%, 39.6%)
CIE-LABlab(34.83, 46.32, -44.55)
CIE-LCHlch(34.83, 64.27, 316.12°)
OKLaboklab(45.84% 0.1074 -0.1258)
OKLCHoklch(45.84% 0.165 310.5)
XYZxyz(14.2179, 8.4141, 31.4407)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74339A #599A33
analogous
#40339A #74339A #9A338C
triadic
#74339A #9A7433 #339A74
tetradic
#74339A #9A4033 #599A33 #338C9A
square
#74339A #9A4033 #599A33 #338C9A
split-complementary
#74339A #8C9A33 #339A40
monochromatic
#2F153E #51246C #74339A #9548C2 #B076D2

Accessibility & contrast

On white

7.83
#74339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#74339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74339A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74339A#FFFFFF#000000##FFFFFF
##74339A1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74339a;
/* rgb */ color: rgb(116, 51, 154);
/* oklch */ color: oklch(45.8% 0.165 310.5);
Tailwind
colors: {
  custom: {
    50: '#9f6fb8',
    500: '#74339a',
    950: '#000000',
  },
}
SCSS
$custom: #74339a;
$custom-light: #9f6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#74339a",
  "rgb": {
    "r": 116,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 277.864,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.16538,
    "h": 310.5
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #74339A

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

Preview Lab → · Contrast checker → · Palette generator →

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