#742198#742198

#742198 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.185 H 313.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#742198
RGBrgb(116, 33, 152)
HSLhsl(282, 64%, 36%)
HSVhsv(282, 78%, 60%)
CMYKcmyk(23.7%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.96, 53.58, -47.96)
CIE-LCHlch(31.96, 71.92, 318.17°)
OKLaboklab(43.75% 0.1265 -0.1357)
OKLCHoklch(43.75% 0.185 313)
XYZxyz(13.4128, 7.0681, 30.3574)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742198 #459821
analogous
#392198 #742198 #982181
triadic
#742198 #987421 #219874
tetradic
#742198 #983921 #459821 #218198
square
#742198 #983921 #459821 #218198
split-complementary
#742198 #819821 #219839
monochromatic
#270B33 #4E1666 #742198 #9A2CCA #B359DB

Accessibility & contrast

On white

8.70
#742198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#742198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742198
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742198#FFFFFF#000000##FFFFFF
##7421981.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#114D96
Tritanopia (blue-blind)
#703D5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #742198;
/* rgb */ color: rgb(116, 33, 152);
/* oklch */ color: oklch(43.8% 0.185 313.0);
Tailwind
colors: {
  custom: {
    50: '#a066b7',
    500: '#742198',
    950: '#000000',
  },
}
SCSS
$custom: #742198;
$custom-light: #a066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#742198",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 281.849,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.18548,
    "h": 313
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#742198
secondary
#76BF56
accent
#E74073
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #742198

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

Preview Lab → · Contrast checker → · Palette generator →

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