#742288#742288

#742288 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.170 H 318.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#742288
RGBrgb(116, 34, 136)
HSLhsl(288, 60%, 33%)
HSVhsv(288, 75%, 53%)
CMYKcmyk(14.7%, 75%, 0%, 46.7%)
CIE-LABlab(30.96, 49.92, -39.72)
CIE-LCHlch(30.96, 63.79, 321.49°)
OKLaboklab(42.69% 0.1278 -0.1115)
OKLCHoklch(42.69% 0.17 318.9)
XYZxyz(12.2178, 6.6352, 23.9249)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742288 #368822
analogous
#412288 #742288 #882269
triadic
#742288 #887422 #228874
tetradic
#742288 #884122 #368822 #226988
square
#742288 #884122 #368822 #226988
split-complementary
#742288 #698822 #228841
monochromatic
#200A26 #4A1657 #742288 #9E2EB9 #BA51D3

Accessibility & contrast

On white

9.02
#742288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#742288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742288
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742288#FFFFFF#000000##FFFFFF
##7422881.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#743653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #742288;
/* rgb */ color: rgb(116, 34, 136);
/* oklch */ color: oklch(42.7% 0.170 318.9);
Tailwind
colors: {
  custom: {
    50: '#9f66ab',
    500: '#742288',
    950: '#000000',
  },
}
SCSS
$custom: #742288;
$custom-light: #9f66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#742288",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 288.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.1696,
    "h": 318.9
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#742288
secondary
#63B74F
accent
#E34564
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742288

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

Preview Lab → · Contrast checker → · Palette generator →

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