#742974#742974

#742974 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 327.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#742974
RGBrgb(116, 41, 116)
HSLhsl(300, 48%, 31%)
HSVhsv(300, 65%, 45%)
CMYKcmyk(0%, 64.7%, 0%, 54.5%)
CIE-LABlab(30.78, 43.09, -27.45)
CIE-LCHlch(30.78, 51.09, 327.50°)
OKLaboklab(42.16% 0.12 -0.0758)
OKLCHoklch(42.16% 0.142 327.7)
XYZxyz(11.1476, 6.5606, 17.1988)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742974 #297429
analogous
#4E2974 #742974 #74294E
triadic
#742974 #747429 #297474
tetradic
#742974 #744E29 #297429 #294E74
square
#742974 #744E29 #297429 #294E74
split-complementary
#742974 #4E7429 #29744E
monochromatic
#1A091A #471947 #742974 #A139A1 #C355C3

Accessibility & contrast

On white

9.08
#742974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#742974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742974
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742974#FFFFFF#000000##FFFFFF
##7429741.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#78334A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742974;
/* rgb */ color: rgb(116, 41, 116);
/* oklch */ color: oklch(42.2% 0.142 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f699c',
    500: '#742974',
    950: '#000000',
  },
}
SCSS
$custom: #742974;
$custom-light: #9f699c;
$custom-dark: #000000;
JSON
{
  "hex": "#742974",
  "rgb": {
    "r": 116,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 300,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.14195,
    "h": 327.7
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#742974
secondary
#53A653
accent
#D75050
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #742974

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

Preview Lab → · Contrast checker → · Palette generator →

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