#742FA0#742FA0

#742FA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.177 H 309.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#742FA0
RGBrgb(116, 47, 160)
HSLhsl(277, 55%, 41%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(27.5%, 70.6%, 0%, 37.3%)
CIE-LABlab(34.57, 49.58, -48.61)
CIE-LCHlch(34.57, 69.44, 315.57°)
OKLaboklab(45.78% 0.1114 -0.1376)
OKLCHoklch(45.78% 0.177 309)
XYZxyz(14.5629, 8.2844, 34.0828)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742FA0 #5BA02F
analogous
#3B2FA0 #742FA0 #A02F93
triadic
#742FA0 #A0742F #2FA074
tetradic
#742FA0 #A03B2F #5BA02F #2F93A0
square
#742FA0 #A03B2F #5BA02F #2F93A0
split-complementary
#742FA0 #93A02F #2FA03B
monochromatic
#2F1341 #522171 #742FA0 #9544C8 #B073D6

Accessibility & contrast

On white

7.90
#742FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#742FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742FA0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742FA0#FFFFFF#000000##FFFFFF
##742FA01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#6D4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742fa0;
/* rgb */ color: rgb(116, 47, 160);
/* oklch */ color: oklch(45.8% 0.177 309.0);
Tailwind
colors: {
  custom: {
    50: '#a06dbd',
    500: '#742fa0',
    950: '#000000',
  },
}
SCSS
$custom: #742fa0;
$custom-light: #a06dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#742fa0",
  "rgb": {
    "r": 116,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 276.637,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.17705,
    "h": 309
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#742FA0
secondary
#8CBE6D
accent
#DE4A84
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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