#742287#742287

#742287 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 319.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#742287
RGBrgb(116, 34, 135)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(14.1%, 74.8%, 0%, 47.1%)
CIE-LABlab(30.89, 49.72, -39.20)
CIE-LCHlch(30.89, 63.32, 321.74°)
OKLaboklab(42.62% 0.1279 -0.11)
OKLCHoklch(42.62% 0.169 319.3)
XYZxyz(12.1471, 6.6069, 23.5524)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742287 #358722
analogous
#412287 #742287 #872267
triadic
#742287 #877422 #228774
tetradic
#742287 #874122 #358722 #226787
square
#742287 #874122 #358722 #226787
split-complementary
#742287 #678722 #228741
monochromatic
#200925 #4A1656 #742287 #9E2EB8 #BA50D3

Accessibility & contrast

On white

9.05
#742287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#742287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742287
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742287#FFFFFF#000000##FFFFFF
##7422871.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2A4B85
Tritanopia (blue-blind)
#743653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #742287;
/* rgb */ color: rgb(116, 34, 135);
/* oklch */ color: oklch(42.6% 0.169 319.3);
Tailwind
colors: {
  custom: {
    50: '#9f66aa',
    500: '#742287',
    950: '#000000',
  },
}
SCSS
$custom: #742287;
$custom-light: #9f66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742287",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 288.713,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.16869,
    "h": 319.3
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#742287
secondary
#62B74E
accent
#E34563
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742287

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

Preview Lab → · Contrast checker → · Palette generator →

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