#742BA1#742BA1

#742BA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 309.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#742BA1
RGBrgb(116, 43, 161)
HSLhsl(277, 58%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(28%, 73.3%, 0%, 36.9%)
CIE-LABlab(34.01, 51.58, -50.11)
CIE-LCHlch(34.01, 71.92, 315.83°)
OKLaboklab(45.41% 0.1154 -0.142)
OKLCHoklch(45.41% 0.183 309.1)
XYZxyz(14.4981, 8.0142, 34.4945)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742BA1 #58A12B
analogous
#392BA1 #742BA1 #A12B93
triadic
#742BA1 #A1742B #2BA174
tetradic
#742BA1 #A1392B #58A12B #2B93A1
square
#742BA1 #A1392B #58A12B #2B93A1
split-complementary
#742BA1 #93A12B #2BA139
monochromatic
#2E1140 #511E71 #742BA1 #953ECB #B06ED8

Accessibility & contrast

On white

8.07
#742BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#742BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742BA1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742BA1#FFFFFF#000000##FFFFFF
##742BA11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#0C519E
Tritanopia (blue-blind)
#6D4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742ba1;
/* rgb */ color: rgb(116, 43, 161);
/* oklch */ color: oklch(45.4% 0.183 309.1);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#742ba1',
    950: '#000000',
  },
}
SCSS
$custom: #742ba1;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742ba1",
  "rgb": {
    "r": 116,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 277.119,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.18301,
    "h": 309.1
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#742BA1
secondary
#8ABF69
accent
#E14782
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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