#742178#742178

#742178 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.156 H 326.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#742178
RGBrgb(116, 33, 120)
HSLhsl(297, 57%, 30%)
HSVhsv(297, 73%, 47%)
CMYKcmyk(3.3%, 72.5%, 0%, 52.9%)
CIE-LABlab(29.81, 47.22, -31.53)
CIE-LCHlch(29.81, 56.78, 326.27°)
OKLaboklab(41.53% 0.1297 -0.0876)
OKLCHoklch(41.53% 0.156 326)
XYZxyz(11.1363, 6.1575, 18.3676)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742178 #257821
analogous
#482178 #742178 #782151
triadic
#742178 #787421 #217874
tetradic
#742178 #784821 #257821 #215178
square
#742178 #784821 #257821 #215178
split-complementary
#742178 #517821 #217848
monochromatic
#170718 #461448 #742178 #A22EA8 #C647CC

Accessibility & contrast

On white

9.41
#742178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#742178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742178
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742178#FFFFFF#000000##FFFFFF
##7421781.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#772F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742178;
/* rgb */ color: rgb(116, 33, 120);
/* oklch */ color: oklch(41.5% 0.156 326.0);
Tailwind
colors: {
  custom: {
    50: '#9f659f',
    500: '#742178',
    950: '#000000',
  },
}
SCSS
$custom: #742178;
$custom-light: #9f659f;
$custom-dark: #000000;
JSON
{
  "hex": "#742178",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 297.241,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.15647,
    "h": 326
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#742178
secondary
#4EAB4A
accent
#E0484F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742178

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

Preview Lab → · Contrast checker → · Palette generator →

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