#742282#742282

#742282 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.164 H 321.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#742282
RGBrgb(116, 34, 130)
HSLhsl(291, 59%, 32%)
HSVhsv(291, 74%, 51%)
CMYKcmyk(10.8%, 73.8%, 0%, 49%)
CIE-LABlab(30.57, 48.73, -36.61)
CIE-LCHlch(30.57, 60.95, 323.09°)
OKLaboklab(42.28% 0.1283 -0.1024)
OKLCHoklch(42.28% 0.164 321.4)
XYZxyz(11.8033, 6.4694, 21.7418)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742282 #308222
analogous
#442282 #742282 #822260
triadic
#742282 #827422 #228274
tetradic
#742282 #824422 #308222 #226082
square
#742282 #824422 #308222 #226082
split-complementary
#742282 #608222 #228244
monochromatic
#1D0921 #491551 #742282 #9F2FB3 #BE4ED1

Accessibility & contrast

On white

9.16
#742282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#742282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742282
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742282#FFFFFF#000000##FFFFFF
##7422821.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#753450
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742282;
/* rgb */ color: rgb(116, 34, 130);
/* oklch */ color: oklch(42.3% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#9f66a7',
    500: '#742282',
    950: '#000000',
  },
}
SCSS
$custom: #742282;
$custom-light: #9f66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#742282",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 291.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.16414,
    "h": 321.4
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#742282
secondary
#5BB44C
accent
#E2465D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #742282

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

Preview Lab → · Contrast checker → · Palette generator →

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