#74309D#74309D

#74309D is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.173 H 309.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#74309D
RGBrgb(116, 48, 157)
HSLhsl(277, 53%, 40%)
HSVhsv(277, 69%, 62%)
CMYKcmyk(26.1%, 69.4%, 0%, 38.4%)
CIE-LABlab(34.52, 48.44, -46.87)
CIE-LCHlch(34.52, 67.40, 315.94°)
OKLaboklab(45.68% 0.1106 -0.1325)
OKLCHoklch(45.68% 0.173 309.8)
XYZxyz(14.3440, 8.2615, 32.7308)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74309D #599D30
analogous
#3D309D #74309D #9D3090
triadic
#74309D #9D7430 #309D74
tetradic
#74309D #9D3D30 #599D30 #30909D
square
#74309D #9D3D30 #599D30 #30909D
split-complementary
#74309D #909D30 #309D3D
monochromatic
#2F133F #51226E #74309D #9544C6 #B073D4

Accessibility & contrast

On white

7.92
#74309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#74309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74309D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74309D#FFFFFF#000000##FFFFFF
##74309D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#6E4763
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #74309d;
/* rgb */ color: rgb(116, 48, 157);
/* oklch */ color: oklch(45.7% 0.173 309.8);
Tailwind
colors: {
  custom: {
    50: '#a06ebb',
    500: '#74309d',
    950: '#000000',
  },
}
SCSS
$custom: #74309d;
$custom-light: #a06ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#74309d",
  "rgb": {
    "r": 116,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 277.431,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.17263,
    "h": 309.8
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#74309D
secondary
#8BBC6D
accent
#DD4B82
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74309D

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

Preview Lab → · Contrast checker → · Palette generator →

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