#742EA1#742EA1

#742EA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.179 H 308.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#742EA1
RGBrgb(116, 46, 161)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(28%, 71.4%, 0%, 36.9%)
CIE-LABlab(34.48, 50.27, -49.36)
CIE-LCHlch(34.48, 70.45, 315.52°)
OKLaboklab(45.74% 0.1123 -0.1398)
OKLCHoklch(45.74% 0.179 308.8)
XYZxyz(14.6112, 8.2405, 34.5322)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA1 #5BA12E
analogous
#3A2EA1 #742EA1 #A12E94
triadic
#742EA1 #A1742E #2EA174
tetradic
#742EA1 #A13A2E #5BA12E #2E94A1
square
#742EA1 #A13A2E #5BA12E #2E94A1
split-complementary
#742EA1 #94A12E #2EA13A
monochromatic
#2F1342 #522071 #742EA1 #9543C9 #B073D7

Accessibility & contrast

On white

7.93
#742EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#742EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA1#FFFFFF#000000##FFFFFF
##742EA11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#13529F
Tritanopia (blue-blind)
#6D4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742ea1;
/* rgb */ color: rgb(116, 46, 161);
/* oklch */ color: oklch(45.7% 0.179 308.8);
Tailwind
colors: {
  custom: {
    50: '#a06dbe',
    500: '#742ea1',
    950: '#000000',
  },
}
SCSS
$custom: #742ea1;
$custom-light: #a06dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea1",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 276.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.17934,
    "h": 308.8
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#742EA1
secondary
#8CBE6C
accent
#DF4984
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#742EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva