#742278#742278

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

Color values

HEX#742278
RGBrgb(116, 34, 120)
HSLhsl(297, 56%, 30%)
HSVhsv(297, 72%, 47%)
CMYKcmyk(3.3%, 71.7%, 0%, 52.9%)
CIE-LABlab(29.95, 46.83, -31.31)
CIE-LCHlch(29.95, 56.33, 326.23°)
OKLaboklab(41.63% 0.1286 -0.0869)
OKLCHoklch(41.63% 0.155 325.9)
XYZxyz(11.1644, 6.2139, 18.3770)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742278 #267822
analogous
#492278 #742278 #782251
triadic
#742278 #787422 #227874
tetradic
#742278 #784922 #267822 #225178
square
#742278 #784922 #267822 #225178
split-complementary
#742278 #517822 #227849
monochromatic
#180719 #461448 #742278 #A230A8 #C549CB

Accessibility & contrast

On white

9.36
#742278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742278
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742278#FFFFFF#000000##FFFFFF
##7422781.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407A
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#772F4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #742278;
/* rgb */ color: rgb(116, 34, 120);
/* oklch */ color: oklch(41.6% 0.155 325.9);
Tailwind
colors: {
  custom: {
    50: '#9f659f',
    500: '#742278',
    950: '#000000',
  },
}
SCSS
$custom: #742278;
$custom-light: #9f659f;
$custom-dark: #000000;
JSON
{
  "hex": "#742278",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 297.209,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.15521,
    "h": 325.9
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#742278
secondary
#4FAB4B
accent
#DF4950
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742278

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

Preview Lab → · Contrast checker → · Palette generator →

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