#742381#742381

#742381 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.162 H 321.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#742381
RGBrgb(116, 35, 129)
HSLhsl(292, 57%, 32%)
HSVhsv(292, 73%, 51%)
CMYKcmyk(10.1%, 72.9%, 0%, 49.4%)
CIE-LABlab(30.64, 48.14, -35.86)
CIE-LCHlch(30.64, 60.03, 323.32°)
OKLaboklab(42.31% 0.1273 -0.1002)
OKLCHoklch(42.31% 0.162 321.8)
XYZxyz(11.7655, 6.5007, 21.3997)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742381 #308123
analogous
#452381 #742381 #81235F
triadic
#742381 #817423 #238174
tetradic
#742381 #814523 #308123 #235F81
square
#742381 #814523 #308123 #235F81
split-complementary
#742381 #5F8123 #238145
monochromatic
#1D0921 #491651 #742381 #9F30B1 #BE4FCF

Accessibility & contrast

On white

9.13
#742381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#742381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742381
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742381#FFFFFF#000000##FFFFFF
##7423811.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#75344F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742381;
/* rgb */ color: rgb(116, 35, 129);
/* oklch */ color: oklch(42.3% 0.162 321.8);
Tailwind
colors: {
  custom: {
    50: '#9f66a6',
    500: '#742381',
    950: '#000000',
  },
}
SCSS
$custom: #742381;
$custom-light: #9f66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#742381",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 291.702,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.162,
    "h": 321.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#742381
secondary
#5BB34D
accent
#E1475C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #742381

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

Preview Lab → · Contrast checker → · Palette generator →

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