#742397#742397

#742397 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.182 H 313.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#742397
RGBrgb(116, 35, 151)
HSLhsl(282, 62%, 36%)
HSVhsv(282, 77%, 59%)
CMYKcmyk(23.2%, 76.8%, 0%, 40.8%)
CIE-LABlab(32.15, 52.63, -47.06)
CIE-LCHlch(32.15, 70.60, 318.20°)
OKLaboklab(43.86% 0.1249 -0.133)
OKLCHoklch(43.86% 0.182 313.2)
XYZxyz(13.3884, 7.1499, 29.9470)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742397 #469723
analogous
#3A2397 #742397 #972380
triadic
#742397 #977423 #239774
tetradic
#742397 #973A23 #469723 #238097
square
#742397 #973A23 #469723 #238097
split-complementary
#742397 #809723 #23973A
monochromatic
#280C34 #4E1765 #742397 #9A2FC9 #B35BD9

Accessibility & contrast

On white

8.64
#742397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#742397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742397
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742397#FFFFFF#000000##FFFFFF
##7423971.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#703E5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #742397;
/* rgb */ color: rgb(116, 35, 151);
/* oklch */ color: oklch(43.9% 0.182 313.2);
Tailwind
colors: {
  custom: {
    50: '#a067b6',
    500: '#742397',
    950: '#000000',
  },
}
SCSS
$custom: #742397;
$custom-light: #a067b6;
$custom-dark: #000000;
JSON
{
  "hex": "#742397",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 281.897,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.18243,
    "h": 313.2
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#742397
secondary
#77BE58
accent
#E54274
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742397

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

Preview Lab → · Contrast checker → · Palette generator →

#742397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva