#742078#742078

#742078 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.158 H 326.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#742078
RGBrgb(116, 32, 120)
HSLhsl(297, 58%, 30%)
HSVhsv(297, 73%, 47%)
CMYKcmyk(3.3%, 73.3%, 0%, 52.9%)
CIE-LABlab(29.67, 47.61, -31.75)
CIE-LCHlch(29.67, 57.22, 326.30°)
OKLaboklab(41.44% 0.1308 -0.0882)
OKLCHoklch(41.44% 0.158 326)
XYZxyz(11.1089, 6.1028, 18.3585)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742078 #247820
analogous
#482078 #742078 #782050
triadic
#742078 #787420 #207874
tetradic
#742078 #784820 #247820 #205078
square
#742078 #784820 #247820 #205078
split-complementary
#742078 #507820 #207848
monochromatic
#170618 #451348 #742078 #A32DA8 #C745CD

Accessibility & contrast

On white

9.46
#742078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#742078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742078
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742078#FFFFFF#000000##FFFFFF
##7420781.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7A
Deuteranopia (green-blind)
#344976
Tritanopia (blue-blind)
#772E4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742078;
/* rgb */ color: rgb(116, 32, 120);
/* oklch */ color: oklch(41.4% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#9f649f',
    500: '#742078',
    950: '#000000',
  },
}
SCSS
$custom: #742078;
$custom-light: #9f649f;
$custom-dark: #000000;
JSON
{
  "hex": "#742078",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 297.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.15771,
    "h": 326
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#742078
secondary
#4DAB48
accent
#E1474E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742078

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

Preview Lab → · Contrast checker → · Palette generator →

#742078 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva