#742CA1#742CA1

#742CA1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.182 H 309.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#742CA1
RGBrgb(116, 44, 161)
HSLhsl(277, 57%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(28%, 72.7%, 0%, 36.9%)
CIE-LABlab(34.17, 51.15, -49.87)
CIE-LCHlch(34.17, 71.44, 315.73°)
OKLaboklab(45.52% 0.1144 -0.1413)
OKLCHoklch(45.52% 0.182 309)
XYZxyz(14.5349, 8.0878, 34.5067)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CA1 #59A12C
analogous
#392CA1 #742CA1 #A12C93
triadic
#742CA1 #A1742C #2CA174
tetradic
#742CA1 #A1392C #59A12C #2C93A1
square
#742CA1 #A1392C #59A12C #2C93A1
split-complementary
#742CA1 #93A12C #2CA139
monochromatic
#2F1241 #511F71 #742CA1 #9540CB #B070D8

Accessibility & contrast

On white

8.02
#742CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#742CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CA1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CA1#FFFFFF#000000##FFFFFF
##742CA11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742ca1;
/* rgb */ color: rgb(116, 44, 161);
/* oklch */ color: oklch(45.5% 0.182 309.0);
Tailwind
colors: {
  custom: {
    50: '#a06cbe',
    500: '#742ca1',
    950: '#000000',
  },
}
SCSS
$custom: #742ca1;
$custom-light: #a06cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742ca1",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 276.923,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.18181,
    "h": 309
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#742CA1
secondary
#8BBF6A
accent
#E04782
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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