#742870#742870

#742870 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.140 H 329.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#742870
RGBrgb(116, 40, 112)
HSLhsl(303, 49%, 31%)
HSVhsv(303, 66%, 45%)
CMYKcmyk(0%, 65.5%, 3.4%, 54.5%)
CIE-LABlab(30.40, 42.80, -25.51)
CIE-LCHlch(30.40, 49.83, 329.21°)
OKLaboklab(41.82% 0.121 -0.0702)
OKLCHoklch(41.82% 0.14 329.9)
XYZxyz(10.8858, 6.4012, 15.9883)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742870 #28742C
analogous
#522874 #742870 #74284A
triadic
#742870 #707428 #287074
tetradic
#742870 #745228 #28742C #284A74
square
#742870 #745228 #28742C #284A74
split-complementary
#742870 #4A7428 #287452
monochromatic
#190918 #461844 #742870 #A2389C #C453BE

Accessibility & contrast

On white

9.21
#742870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#742870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742870
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742870#FFFFFF#000000##FFFFFF
##7428701.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#783048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742870;
/* rgb */ color: rgb(116, 40, 112);
/* oklch */ color: oklch(41.8% 0.140 329.9);
Tailwind
colors: {
  custom: {
    50: '#9f6899',
    500: '#742870',
    950: '#000000',
  },
}
SCSS
$custom: #742870;
$custom-light: #9f6899;
$custom-dark: #000000;
JSON
{
  "hex": "#742870",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 303.158,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.13986,
    "h": 329.9
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#742870
secondary
#52A656
accent
#D85750
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #742870

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

Preview Lab → · Contrast checker → · Palette generator →

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