#742279#742279

#742279 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.156 H 325.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#742279
RGBrgb(116, 34, 121)
HSLhsl(297, 56%, 30%)
HSVhsv(297, 72%, 47%)
CMYKcmyk(4.1%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.01, 47.01, -31.85)
CIE-LCHlch(30.01, 56.78, 325.89°)
OKLaboklab(41.7% 0.1286 -0.0885)
OKLCHoklch(41.7% 0.156 325.5)
XYZxyz(11.2254, 6.2383, 18.6983)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742279 #277922
analogous
#492279 #742279 #792252
triadic
#742279 #797422 #227974
tetradic
#742279 #794922 #277922 #225279
square
#742279 #794922 #277922 #225279
split-complementary
#742279 #527922 #227949
monochromatic
#180719 #461549 #742279 #A22FA9 #C449CC

Accessibility & contrast

On white

9.34
#742279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#742279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742279
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742279#FFFFFF#000000##FFFFFF
##7422791.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407B
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#77304B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #742279;
/* rgb */ color: rgb(116, 34, 121);
/* oklch */ color: oklch(41.7% 0.156 325.5);
Tailwind
colors: {
  custom: {
    50: '#9f65a0',
    500: '#742279',
    950: '#000000',
  },
}
SCSS
$custom: #742279;
$custom-light: #9f65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#742279",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 296.552,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.15609,
    "h": 325.5
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#742279
secondary
#50AC4B
accent
#DF4851
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #742279

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

Preview Lab → · Contrast checker → · Palette generator →

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