#742082#742082

#742082 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.167 H 321.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#742082
RGBrgb(116, 32, 130)
HSLhsl(291, 60%, 32%)
HSVhsv(291, 75%, 51%)
CMYKcmyk(10.8%, 75.4%, 0%, 49%)
CIE-LABlab(30.30, 49.50, -37.04)
CIE-LCHlch(30.30, 61.82, 323.19°)
OKLaboklab(42.09% 0.1304 -0.1036)
OKLCHoklch(42.09% 0.167 321.5)
XYZxyz(11.7478, 6.3584, 21.7233)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742082 #2E8220
analogous
#432082 #742082 #82205F
triadic
#742082 #827420 #208274
tetradic
#742082 #824320 #2E8220 #205F82
square
#742082 #824320 #2E8220 #205F82
split-complementary
#742082 #5F8220 #208243
monochromatic
#1C0820 #481451 #742082 #A02CB3 #BF4AD2

Accessibility & contrast

On white

9.24
#742082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#742082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742082
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742082#FFFFFF#000000##FFFFFF
##7420821.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#75334F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #742082;
/* rgb */ color: rgb(116, 32, 130);
/* oklch */ color: oklch(42.1% 0.167 321.5);
Tailwind
colors: {
  custom: {
    50: '#9f65a7',
    500: '#742082',
    950: '#000000',
  },
}
SCSS
$custom: #742082;
$custom-light: #9f65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#742082",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 291.429,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.16652,
    "h": 321.5
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#742082
secondary
#59B549
accent
#E4445B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #742082

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

Preview Lab → · Contrast checker → · Palette generator →

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