#741F9B#741F9B

#741F9B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.190 H 312.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#741F9B
RGBrgb(116, 31, 155)
HSLhsl(281, 67%, 36%)
HSVhsv(281, 80%, 61%)
CMYKcmyk(25.2%, 80%, 0%, 39.2%)
CIE-LABlab(31.94, 54.92, -49.83)
CIE-LCHlch(31.94, 74.15, 317.78°)
OKLaboklab(43.81% 0.1276 -0.1411)
OKLCHoklch(43.81% 0.19 312.1)
XYZxyz(13.6077, 7.0599, 31.6499)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#741F9B #469B1F
analogous
#361F9B #741F9B #9B1F84
triadic
#741F9B #9B741F #1F9B74
tetradic
#741F9B #9B361F #469B1F #1F849B
square
#741F9B #9B361F #469B1F #1F849B
split-complementary
#741F9B #849B1F #1F9B36
monochromatic
#280B35 #4E1568 #741F9B #9A29CE #B357DD

Accessibility & contrast

On white

8.71
#741F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#741F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #741F9B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##741F9B#FFFFFF#000000##FFFFFF
##741F9B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#044D98
Tritanopia (blue-blind)
#6F3E5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #741f9b;
/* rgb */ color: rgb(116, 31, 155);
/* oklch */ color: oklch(43.8% 0.190 312.1);
Tailwind
colors: {
  custom: {
    50: '#a166b9',
    500: '#741f9b',
    950: '#000000',
  },
}
SCSS
$custom: #741f9b;
$custom-light: #a166b9;
$custom-dark: #000000;
JSON
{
  "hex": "#741f9b",
  "rgb": {
    "r": 116,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 281.129,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.19025,
    "h": 312.1
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#741F9B
secondary
#77C155
accent
#EA3E74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #741F9B

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

Preview Lab → · Contrast checker → · Palette generator →

#741F9B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva