#742087#742087

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

Color values

HEX#742087
RGBrgb(116, 32, 135)
HSLhsl(289, 62%, 33%)
HSVhsv(289, 76%, 53%)
CMYKcmyk(14.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(30.63, 50.48, -39.63)
CIE-LCHlch(30.63, 64.17, 321.86°)
OKLaboklab(42.43% 0.1299 -0.1112)
OKLCHoklch(42.43% 0.171 319.4)
XYZxyz(12.0916, 6.4959, 23.5339)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742087 #338720
analogous
#402087 #742087 #872066
triadic
#742087 #877420 #208774
tetradic
#742087 #874020 #338720 #206687
square
#742087 #874020 #338720 #206687
split-complementary
#742087 #668720 #208740
monochromatic
#1F0924 #491456 #742087 #9F2CB8 #BC4DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##742087#FFFFFF#000000##FFFFFF
##7420871.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)
#00438A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#743552
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742087;
/* rgb */ color: rgb(116, 32, 135);
/* oklch */ color: oklch(42.4% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#a065aa',
    500: '#742087',
    950: '#000000',
  },
}
SCSS
$custom: #742087;
$custom-light: #a065aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742087",
  "rgb": {
    "r": 116,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 288.932,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42428,
    "c": 0.17099,
    "h": 319.4
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#742087
secondary
#5FB84B
accent
#E54361
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742087

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

Preview Lab → · Contrast checker → · Palette generator →

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