#74259D#74259D

#74259D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.186 H 311.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#74259D
RGBrgb(116, 37, 157)
HSLhsl(280, 62%, 38%)
HSVhsv(280, 76%, 62%)
CMYKcmyk(26.1%, 76.4%, 0%, 38.4%)
CIE-LABlab(32.86, 53.15, -49.56)
CIE-LCHlch(32.86, 72.67, 317.00°)
OKLaboklab(44.5% 0.1219 -0.1404)
OKLCHoklch(44.5% 0.186 311)
XYZxyz(13.9487, 7.4708, 32.5990)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74259D #4E9D25
analogous
#38259D #74259D #9D258A
triadic
#74259D #9D7425 #259D74
tetradic
#74259D #9D3825 #4E9D25 #258A9D
square
#74259D #9D3825 #4E9D25 #258A9D
split-complementary
#74259D #8A9D25 #259D38
monochromatic
#2B0E3A #4F196B #74259D #9931CE #B162DA

Accessibility & contrast

On white

8.42
#74259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#74259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74259D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74259D#FFFFFF#000000##FFFFFF
##74259D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#0B4F9A
Tritanopia (blue-blind)
#6F4160
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #74259d;
/* rgb */ color: rgb(116, 37, 157);
/* oklch */ color: oklch(44.5% 0.186 311.0);
Tailwind
colors: {
  custom: {
    50: '#a068bb',
    500: '#74259d',
    950: '#000000',
  },
}
SCSS
$custom: #74259d;
$custom-light: #a068bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74259d",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 279.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.18595,
    "h": 311
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#74259D
secondary
#80BF5E
accent
#E5437A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74259D

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

Preview Lab → · Contrast checker → · Palette generator →

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