#742E8F#742E8F

#742E8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.161 H 315.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#742E8F
RGBrgb(116, 46, 143)
HSLhsl(283, 51%, 37%)
HSVhsv(283, 68%, 56%)
CMYKcmyk(18.9%, 67.8%, 0%, 43.9%)
CIE-LABlab(33.24, 46.25, -40.38)
CIE-LCHlch(33.24, 61.40, 318.88°)
OKLaboklab(44.47% 0.114 -0.1135)
OKLCHoklch(44.47% 0.161 315.1)
XYZxyz(13.1366, 7.6506, 26.7660)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742E8F #498F2E
analogous
#442E8F #742E8F #8F2E7A
triadic
#742E8F #8F742E #2E8F74
tetradic
#742E8F #8F442E #498F2E #2E7A8F
square
#742E8F #8F442E #498F2E #2E7A8F
split-complementary
#742E8F #7A8F2E #2E8F44
monochromatic
#291032 #4E1F61 #742E8F #9A3DBD #B269CF

Accessibility & contrast

On white

8.30
#742E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#742E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742E8F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742E8F#FFFFFF#000000##FFFFFF
##742E8F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#72415A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #742e8f;
/* rgb */ color: rgb(116, 46, 143);
/* oklch */ color: oklch(44.5% 0.161 315.1);
Tailwind
colors: {
  custom: {
    50: '#9f6cb0',
    500: '#742e8f',
    950: '#000000',
  },
}
SCSS
$custom: #742e8f;
$custom-light: #9f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#742e8f",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 283.299,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.1609,
    "h": 315.1
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#742E8F
secondary
#7AB663
accent
#DB4D74
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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