#740F6D#740F6D

#740F6D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.166 H 331.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#740F6D
RGBrgb(116, 15, 109)
HSLhsl(304, 77%, 26%)
HSVhsv(304, 87%, 45%)
CMYKcmyk(0%, 87.1%, 6%, 54.5%)
CIE-LABlab(27.18, 50.95, -28.67)
CIE-LCHlch(27.18, 58.46, 330.63°)
OKLaboklab(39.45% 0.1458 -0.0791)
OKLCHoklch(39.45% 0.166 331.5)
XYZxyz(10.1336, 5.1596, 14.9272)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#740F6D #0F7416
analogous
#480F74 #740F6D #740F3B
triadic
#740F6D #6D740F #0F6D74
tetradic
#740F6D #74480F #0F7416 #0F3B74
square
#740F6D #74480F #0F7416 #0F3B74
split-complementary
#740F6D #3B740F #0F7448
monochromatic
#1B0419 #3E083A #740F6D #AA16A0 #E01DD3

Accessibility & contrast

On white

10.34
#740F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#740F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #740F6D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##740F6D#FFFFFF#000000##FFFFFF
##740F6D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01386F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#791E40
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #740f6d;
/* rgb */ color: rgb(116, 15, 109);
/* oklch */ color: oklch(39.4% 0.166 331.5);
Tailwind
colors: {
  custom: {
    50: '#a05e97',
    500: '#740f6d',
    950: '#000000',
  },
}
SCSS
$custom: #740f6d;
$custom-light: #a05e97;
$custom-dark: #000000;
JSON
{
  "hex": "#740f6d",
  "rgb": {
    "r": 116,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 304.158,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.16589,
    "h": 331.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#740F6D
secondary
#33AC3C
accent
#F44134
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #740F6D

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

Preview Lab → · Contrast checker → · Palette generator →

#740F6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva