#742281#742281

#742281 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.163 H 321.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#742281
RGBrgb(116, 34, 129)
HSLhsl(292, 58%, 32%)
HSVhsv(292, 74%, 51%)
CMYKcmyk(10.1%, 73.6%, 0%, 49.4%)
CIE-LABlab(30.50, 48.54, -36.09)
CIE-LCHlch(30.50, 60.48, 323.37°)
OKLaboklab(42.21% 0.1284 -0.1008)
OKLCHoklch(42.21% 0.163 321.8)
XYZxyz(11.7365, 6.4427, 21.3900)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742281 #2F8122
analogous
#442281 #742281 #81225F
triadic
#742281 #817422 #228174
tetradic
#742281 #814422 #2F8122 #225F81
square
#742281 #814422 #2F8122 #225F81
split-complementary
#742281 #5F8122 #228144
monochromatic
#1D0820 #481551 #742281 #A02FB1 #BE4DD0

Accessibility & contrast

On white

9.18
#742281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742281
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742281#FFFFFF#000000##FFFFFF
##7422811.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#75334F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742281;
/* rgb */ color: rgb(116, 34, 129);
/* oklch */ color: oklch(42.2% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#9f66a6',
    500: '#742281',
    950: '#000000',
  },
}
SCSS
$custom: #742281;
$custom-light: #9f66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#742281",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 291.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.16323,
    "h": 321.8
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#742281
secondary
#5AB34B
accent
#E1465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #742281

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

Preview Lab → · Contrast checker → · Palette generator →

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