#74256D#74256D

#74256D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.142 H 331.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#74256D
RGBrgb(116, 37, 109)
HSLhsl(305, 52%, 30%)
HSVhsv(305, 68%, 45%)
CMYKcmyk(0%, 68.1%, 6%, 54.5%)
CIE-LABlab(29.77, 43.59, -24.60)
CIE-LCHlch(29.77, 50.05, 330.57°)
OKLaboklab(41.3% 0.1245 -0.0675)
OKLCHoklch(41.3% 0.142 331.5)
XYZxyz(10.6243, 6.1411, 15.0908)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74256D #25742C
analogous
#532574 #74256D #742546
triadic
#74256D #6D7425 #256D74
tetradic
#74256D #745325 #25742C #254674
square
#74256D #745325 #25742C #254674
split-complementary
#74256D #467425 #257453
monochromatic
#170716 #461641 #74256D #A23499 #C64DBC

Accessibility & contrast

On white

9.43
#74256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#74256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74256D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74256D#FFFFFF#000000##FFFFFF
##74256D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#792D45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74256d;
/* rgb */ color: rgb(116, 37, 109);
/* oklch */ color: oklch(41.3% 0.142 331.5);
Tailwind
colors: {
  custom: {
    50: '#9f6697',
    500: '#74256d',
    950: '#000000',
  },
}
SCSS
$custom: #74256d;
$custom-light: #9f6697;
$custom-dark: #000000;
JSON
{
  "hex": "#74256d",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 305.316,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.14163,
    "h": 331.5
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#74256D
secondary
#4EA756
accent
#DB594D
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74256D

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

Preview Lab → · Contrast checker → · Palette generator →

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