#74256C#74256C

#74256C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 332.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#74256C
RGBrgb(116, 37, 108)
HSLhsl(306, 52%, 30%)
HSVhsv(306, 68%, 45%)
CMYKcmyk(0%, 68.1%, 6.9%, 54.5%)
CIE-LABlab(29.71, 43.41, -24.04)
CIE-LCHlch(29.71, 49.63, 331.03°)
OKLaboklab(41.25% 0.1244 -0.0659)
OKLCHoklch(41.25% 0.141 332.1)
XYZxyz(10.5708, 6.1197, 14.8089)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74256C #25742D
analogous
#552574 #74256C #742544
triadic
#74256C #6C7425 #256C74
tetradic
#74256C #745525 #25742D #254474
square
#74256C #745525 #25742D #254474
split-complementary
#74256C #447425 #257455
monochromatic
#170716 #461641 #74256C #A23497 #C64DBA

Accessibility & contrast

On white

9.44
#74256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#74256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74256C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74256C#FFFFFF#000000##FFFFFF
##74256C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6E
Deuteranopia (green-blind)
#3C4A6A
Tritanopia (blue-blind)
#792C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74256c;
/* rgb */ color: rgb(116, 37, 108);
/* oklch */ color: oklch(41.2% 0.141 332.1);
Tailwind
colors: {
  custom: {
    50: '#9f6696',
    500: '#74256c',
    950: '#000000',
  },
}
SCSS
$custom: #74256c;
$custom-light: #9f6696;
$custom-dark: #000000;
JSON
{
  "hex": "#74256c",
  "rgb": {
    "r": 116,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 306.076,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.14078,
    "h": 332.1
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#74256C
secondary
#4EA757
accent
#DB5B4D
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74256C

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

Preview Lab → · Contrast checker → · Palette generator →

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