#742284#742284

#742284 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.166 H 320.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#742284
RGBrgb(116, 34, 132)
HSLhsl(290, 59%, 33%)
HSVhsv(290, 74%, 52%)
CMYKcmyk(12.1%, 74.2%, 0%, 48.2%)
CIE-LABlab(30.70, 49.13, -37.65)
CIE-LCHlch(30.70, 61.90, 322.53°)
OKLaboklab(42.41% 0.1282 -0.1054)
OKLCHoklch(42.41% 0.166 320.6)
XYZxyz(11.9388, 6.5236, 22.4556)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742284 #328422
analogous
#432284 #742284 #842263
triadic
#742284 #847422 #228474
tetradic
#742284 #844322 #328422 #226384
square
#742284 #844322 #328422 #226384
split-complementary
#742284 #638422 #228443
monochromatic
#1E0923 #491553 #742284 #9F2FB5 #BC4FD2

Accessibility & contrast

On white

9.11
#742284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#742284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742284
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742284#FFFFFF#000000##FFFFFF
##7422841.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#753551
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742284;
/* rgb */ color: rgb(116, 34, 132);
/* oklch */ color: oklch(42.4% 0.166 320.6);
Tailwind
colors: {
  custom: {
    50: '#9f66a8',
    500: '#742284',
    950: '#000000',
  },
}
SCSS
$custom: #742284;
$custom-light: #9f66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#742284",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 290.204,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.16595,
    "h": 320.6
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#742284
secondary
#5EB54D
accent
#E2465F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742284

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

Preview Lab → · Contrast checker → · Palette generator →

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