#742E8A#742E8A

#742E8A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.156 H 317.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#742E8A
RGBrgb(116, 46, 138)
HSLhsl(286, 50%, 36%)
HSVhsv(286, 67%, 54%)
CMYKcmyk(15.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(32.92, 45.18, -37.81)
CIE-LCHlch(32.92, 58.92, 320.07°)
OKLaboklab(44.13% 0.1142 -0.106)
OKLCHoklch(44.13% 0.156 317.1)
XYZxyz(12.7662, 7.5025, 24.8155)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E8A #448A2E
analogous
#462E8A #742E8A #8A2E72
triadic
#742E8A #8A742E #2E8A74
tetradic
#742E8A #8A462E #448A2E #2E728A
square
#742E8A #8A462E #448A2E #2E728A
split-complementary
#742E8A #728A2E #2E8A46
monochromatic
#270F2E #4D1F5C #742E8A #9B3DB8 #B466CC

Accessibility & contrast

On white

8.40
#742E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#742E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E8A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E8A#FFFFFF#000000##FFFFFF
##742E8A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#733F58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #742e8a;
/* rgb */ color: rgb(116, 46, 138);
/* oklch */ color: oklch(44.1% 0.156 317.1);
Tailwind
colors: {
  custom: {
    50: '#9f6cad',
    500: '#742e8a',
    950: '#000000',
  },
}
SCSS
$custom: #742e8a;
$custom-light: #9f6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#742e8a",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 285.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.15582,
    "h": 317.1
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#742E8A
secondary
#75B361
accent
#DA4E70
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#742E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva