#740F6E#740F6E

#740F6E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.167 H 331.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#740F6E
RGBrgb(116, 15, 110)
HSLhsl(304, 77%, 26%)
HSVhsv(304, 87%, 45%)
CMYKcmyk(0%, 87.1%, 5.2%, 54.5%)
CIE-LABlab(27.25, 51.11, -29.22)
CIE-LCHlch(27.25, 58.87, 330.24°)
OKLaboklab(39.51% 0.1458 -0.0807)
OKLCHoklch(39.51% 0.167 331)
XYZxyz(10.1878, 5.1813, 15.2124)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#740F6E #0F7415
analogous
#470F74 #740F6E #740F3B
triadic
#740F6E #6E740F #0F6E74
tetradic
#740F6E #74470F #0F7415 #0F3B74
square
#740F6E #74470F #0F7415 #0F3B74
split-complementary
#740F6E #3B740F #0F7447
monochromatic
#1B041A #3E083B #740F6E #AA16A1 #E01DD5

Accessibility & contrast

On white

10.31
#740F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#740F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #740F6E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##740F6E#FFFFFF#000000##FFFFFF
##740F6E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#33456C
Tritanopia (blue-blind)
#791F40
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #740f6e;
/* rgb */ color: rgb(116, 15, 110);
/* oklch */ color: oklch(39.5% 0.167 331.0);
Tailwind
colors: {
  custom: {
    50: '#a05e98',
    500: '#740f6e',
    950: '#000000',
  },
}
SCSS
$custom: #740f6e;
$custom-light: #a05e98;
$custom-dark: #000000;
JSON
{
  "hex": "#740f6e",
  "rgb": {
    "r": 116,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 303.564,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.16664,
    "h": 331
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#740F6E
secondary
#33AC3A
accent
#F44034
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #740F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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