#742273#742273

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

Color values

HEX#742273
RGBrgb(116, 34, 115)
HSLhsl(301, 55%, 29%)
HSVhsv(301, 71%, 45%)
CMYKcmyk(0%, 70.7%, 0.9%, 54.5%)
CIE-LABlab(29.65, 45.91, -28.60)
CIE-LCHlch(29.65, 54.09, 328.08°)
OKLaboklab(41.33% 0.1285 -0.0791)
OKLCHoklch(41.33% 0.151 328.4)
XYZxyz(10.8689, 6.0956, 16.8204)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742273 #227423
analogous
#4C2274 #742273 #74224A
triadic
#742273 #737422 #227374
tetradic
#742273 #744C22 #227423 #224A74
square
#742273 #744C22 #227423 #224A74
split-complementary
#742273 #4A7422 #22744C
monochromatic
#180717 #451444 #742273 #A330A2 #C947C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##742273#FFFFFF#000000##FFFFFF
##7422731.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)
#173F75
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#782D48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742273;
/* rgb */ color: rgb(116, 34, 115);
/* oklch */ color: oklch(41.3% 0.151 328.4);
Tailwind
colors: {
  custom: {
    50: '#9f659b',
    500: '#742273',
    950: '#000000',
  },
}
SCSS
$custom: #742273;
$custom-light: #9f659b;
$custom-dark: #000000;
JSON
{
  "hex": "#742273",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 300.732,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.15086,
    "h": 328.4
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#742273
secondary
#4BA74C
accent
#DE4C4A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742273

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

Preview Lab → · Contrast checker → · Palette generator →

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