#742277#742277

#742277 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.154 H 326.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#742277
RGBrgb(116, 34, 119)
HSLhsl(298, 56%, 30%)
HSVhsv(298, 71%, 47%)
CMYKcmyk(2.5%, 71.4%, 0%, 53.3%)
CIE-LABlab(29.89, 46.64, -30.77)
CIE-LCHlch(29.89, 55.88, 326.59°)
OKLaboklab(41.57% 0.1286 -0.0854)
OKLCHoklch(41.57% 0.154 326.4)
XYZxyz(11.1041, 6.1897, 18.0591)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742277 #257722
analogous
#492277 #742277 #772250
triadic
#742277 #777422 #227774
tetradic
#742277 #774922 #257722 #225077
square
#742277 #774922 #257722 #225077
split-complementary
#742277 #507722 #227749
monochromatic
#170718 #461447 #742277 #A230A7 #C649CB

Accessibility & contrast

On white

9.38
#742277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#742277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742277
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742277#FFFFFF#000000##FFFFFF
##7422771.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#772F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #742277;
/* rgb */ color: rgb(116, 34, 119);
/* oklch */ color: oklch(41.6% 0.154 326.4);
Tailwind
colors: {
  custom: {
    50: '#9f659e',
    500: '#742277',
    950: '#000000',
  },
}
SCSS
$custom: #742277;
$custom-light: #9f659e;
$custom-dark: #000000;
JSON
{
  "hex": "#742277",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 297.882,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.15433,
    "h": 326.4
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#742277
secondary
#4EAA4B
accent
#DF494E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742277

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

Preview Lab → · Contrast checker → · Palette generator →

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