#74256F#74256F

#74256F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.143 H 330.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#74256F
RGBrgb(116, 37, 111)
HSLhsl(304, 52%, 30%)
HSVhsv(304, 68%, 45%)
CMYKcmyk(0%, 68.1%, 4.3%, 54.5%)
CIE-LABlab(29.87, 43.95, -25.70)
CIE-LCHlch(29.87, 50.91, 329.68°)
OKLaboklab(41.41% 0.1247 -0.0707)
OKLCHoklch(41.41% 0.143 330.4)
XYZxyz(10.7332, 6.1846, 15.6643)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74256F #25742A
analogous
#512574 #74256F #742548
triadic
#74256F #6F7425 #256F74
tetradic
#74256F #745125 #25742A #254874
square
#74256F #745125 #25742A #254874
split-complementary
#74256F #487425 #257451
monochromatic
#170716 #461643 #74256F #A2349B #C64DBF

Accessibility & contrast

On white

9.39
#74256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#74256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74256F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74256F#FFFFFF#000000##FFFFFF
##74256F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#782E46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74256f;
/* rgb */ color: rgb(116, 37, 111);
/* oklch */ color: oklch(41.4% 0.143 330.4);
Tailwind
colors: {
  custom: {
    50: '#9f6698',
    500: '#74256f',
    950: '#000000',
  },
}
SCSS
$custom: #74256f;
$custom-light: #9f6698;
$custom-dark: #000000;
JSON
{
  "hex": "#74256f",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 303.797,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.14334,
    "h": 330.4
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#74256F
secondary
#4EA754
accent
#DB564D
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #74256F

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

Preview Lab → · Contrast checker → · Palette generator →

#74256F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva