#742276#742276

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

Color values

HEX#742276
RGBrgb(116, 34, 118)
HSLhsl(299, 55%, 30%)
HSVhsv(299, 71%, 46%)
CMYKcmyk(1.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(29.83, 46.46, -30.23)
CIE-LCHlch(29.83, 55.43, 326.95°)
OKLaboklab(41.51% 0.1286 -0.0838)
OKLCHoklch(41.51% 0.153 326.9)
XYZxyz(11.0443, 6.1658, 17.7444)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742276 #247622
analogous
#4A2276 #742276 #76224E
triadic
#742276 #767422 #227674
tetradic
#742276 #764A22 #247622 #224E76
square
#742276 #764A22 #247622 #224E76
split-complementary
#742276 #4E7622 #22764A
monochromatic
#170718 #451446 #742276 #A330A6 #C748CA

Accessibility & contrast

On white

9.40
#742276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742276
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742276#FFFFFF#000000##FFFFFF
##7422761.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134078
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#772F49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742276;
/* rgb */ color: rgb(116, 34, 118);
/* oklch */ color: oklch(41.5% 0.153 326.9);
Tailwind
colors: {
  custom: {
    50: '#9f659e',
    500: '#742276',
    950: '#000000',
  },
}
SCSS
$custom: #742276;
$custom-light: #9f659e;
$custom-dark: #000000;
JSON
{
  "hex": "#742276",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 298.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.15346,
    "h": 326.9
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#742276
secondary
#4DA94B
accent
#DF494D
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742276

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

Preview Lab → · Contrast checker → · Palette generator →

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