#742888#742888

#742888 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.162 H 318.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#742888
RGBrgb(116, 40, 136)
HSLhsl(288, 55%, 35%)
HSVhsv(288, 71%, 53%)
CMYKcmyk(14.7%, 70.6%, 0%, 46.7%)
CIE-LABlab(31.83, 47.47, -38.33)
CIE-LCHlch(31.83, 61.02, 321.08°)
OKLaboklab(43.3% 0.1214 -0.1075)
OKLCHoklch(43.3% 0.162 318.5)
XYZxyz(12.4046, 7.0087, 23.9872)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742888 #3C8828
analogous
#442888 #742888 #88286C
triadic
#742888 #887428 #288874
tetradic
#742888 #884428 #3C8828 #286C88
square
#742888 #884428 #3C8828 #286C88
split-complementary
#742888 #6C8828 #288844
monochromatic
#230C29 #4C1A59 #742888 #9C36B7 #B75BCF

Accessibility & contrast

On white

8.74
#742888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#742888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742888
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742888#FFFFFF#000000##FFFFFF
##7428881.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#743A55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742888;
/* rgb */ color: rgb(116, 40, 136);
/* oklch */ color: oklch(43.3% 0.162 318.5);
Tailwind
colors: {
  custom: {
    50: '#9f69ab',
    500: '#742888',
    950: '#000000',
  },
}
SCSS
$custom: #742888;
$custom-light: #9f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#742888",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 287.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.16213,
    "h": 318.5
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#742888
secondary
#6BB458
accent
#DE4A69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #742888

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

Preview Lab → · Contrast checker → · Palette generator →

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