#742274#742274

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

Color values

HEX#742274
RGBrgb(116, 34, 116)
HSLhsl(300, 55%, 29%)
HSVhsv(300, 71%, 45%)
CMYKcmyk(0%, 70.7%, 0%, 54.5%)
CIE-LABlab(29.71, 46.09, -29.15)
CIE-LCHlch(29.71, 54.54, 327.69°)
OKLaboklab(41.39% 0.1285 -0.0806)
OKLCHoklch(41.39% 0.152 327.9)
XYZxyz(10.9267, 6.1188, 17.1251)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742274 #227422
analogous
#4B2274 #742274 #74224B
triadic
#742274 #747422 #227474
tetradic
#742274 #744B22 #227422 #224B74
square
#742274 #744B22 #227422 #224B74
split-complementary
#742274 #4B7422 #22744B
monochromatic
#180718 #451445 #742274 #A330A3 #C947C9

Accessibility & contrast

On white

9.44
#742274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##742274#FFFFFF#000000##FFFFFF
##7422741.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)
#153F76
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#782E48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742274;
/* rgb */ color: rgb(116, 34, 116);
/* oklch */ color: oklch(41.4% 0.152 327.9);
Tailwind
colors: {
  custom: {
    50: '#9f659c',
    500: '#742274',
    950: '#000000',
  },
}
SCSS
$custom: #742274;
$custom-light: #9f659c;
$custom-dark: #000000;
JSON
{
  "hex": "#742274",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 300,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41387,
    "c": 0.15172,
    "h": 327.9
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#742274
secondary
#4BA74B
accent
#DE4A4A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742274

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

Preview Lab → · Contrast checker → · Palette generator →

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