#74309E#74309E

#74309E is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.174 H 309.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#74309E
RGBrgb(116, 48, 158)
HSLhsl(277, 53%, 40%)
HSVhsv(277, 70%, 62%)
CMYKcmyk(26.6%, 69.6%, 0%, 38%)
CIE-LABlab(34.59, 48.67, -47.36)
CIE-LCHlch(34.59, 67.91, 315.78°)
OKLaboklab(45.76% 0.1105 -0.134)
OKLCHoklch(45.76% 0.174 309.5)
XYZxyz(14.4297, 8.2958, 33.1822)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74309E #5A9E30
analogous
#3D309E #74309E #9E3091
triadic
#74309E #9E7430 #309E74
tetradic
#74309E #9E3D30 #5A9E30 #30919E
square
#74309E #9E3D30 #5A9E30 #30919E
split-complementary
#74309E #919E30 #309E3D
monochromatic
#2F1340 #52226F #74309E #9545C6 #B074D5

Accessibility & contrast

On white

7.90
#74309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#74309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74309E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74309E#FFFFFF#000000##FFFFFF
##74309E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#1C529C
Tritanopia (blue-blind)
#6E4863
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #74309e;
/* rgb */ color: rgb(116, 48, 158);
/* oklch */ color: oklch(45.8% 0.174 309.5);
Tailwind
colors: {
  custom: {
    50: '#a06ebb',
    500: '#74309e',
    950: '#000000',
  },
}
SCSS
$custom: #74309e;
$custom-light: #a06ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#74309e",
  "rgb": {
    "r": 116,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 277.091,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.17367,
    "h": 309.5
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#74309E
secondary
#8CBD6D
accent
#DD4B83
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74309E

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

Preview Lab → · Contrast checker → · Palette generator →

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