#74257D#74257D

#74257D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.156 H 323.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#74257D
RGBrgb(116, 37, 125)
HSLhsl(294, 54%, 32%)
HSVhsv(294, 70%, 49%)
CMYKcmyk(7.2%, 70.4%, 0%, 51%)
CIE-LABlab(30.68, 46.55, -33.29)
CIE-LCHlch(30.68, 57.23, 324.43°)
OKLaboklab(42.26% 0.1252 -0.0927)
OKLCHoklch(42.26% 0.156 323.5)
XYZxyz(11.5654, 6.5175, 20.0469)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74257D #2E7D25
analogous
#48257D #74257D #7D255A
triadic
#74257D #7D7425 #257D74
tetradic
#74257D #7D4825 #2E7D25 #255A7D
square
#74257D #7D4825 #2E7D25 #255A7D
split-complementary
#74257D #5A7D25 #257D48
monochromatic
#1C091F #48174E #74257D #A033AC #BF51CB

Accessibility & contrast

On white

9.12
#74257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#74257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74257D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74257D#FFFFFF#000000##FFFFFF
##74257D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#76344E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74257d;
/* rgb */ color: rgb(116, 37, 125);
/* oklch */ color: oklch(42.3% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#9f67a3',
    500: '#74257d',
    950: '#000000',
  },
}
SCSS
$custom: #74257d;
$custom-light: #9f67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#74257d",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 293.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.15577,
    "h": 323.5
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#74257D
secondary
#59AF4F
accent
#DE4A59
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74257D

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

Preview Lab → · Contrast checker → · Palette generator →

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