#742CA0#742CA0

#742CA0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.181 H 309.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#742CA0
RGBrgb(116, 44, 160)
HSLhsl(277, 57%, 40%)
HSVhsv(277, 73%, 63%)
CMYKcmyk(27.5%, 72.5%, 0%, 37.3%)
CIE-LABlab(34.09, 50.92, -49.38)
CIE-LCHlch(34.09, 70.93, 315.88°)
OKLaboklab(45.44% 0.1145 -0.1399)
OKLCHoklch(45.44% 0.181 309.3)
XYZxyz(14.4470, 8.0527, 34.0442)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CA0 #58A02C
analogous
#3A2CA0 #742CA0 #A02C92
triadic
#742CA0 #A0742C #2CA074
tetradic
#742CA0 #A03A2C #58A02C #2C92A0
square
#742CA0 #A03A2C #58A02C #2C92A0
split-complementary
#742CA0 #92A02C #2CA03A
monochromatic
#2E1240 #511F70 #742CA0 #953FCA #B06FD7

Accessibility & contrast

On white

8.04
#742CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#742CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CA0
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CA0#FFFFFF#000000##FFFFFF
##742CA01.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#11519E
Tritanopia (blue-blind)
#6E4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742ca0;
/* rgb */ color: rgb(116, 44, 160);
/* oklch */ color: oklch(45.4% 0.181 309.3);
Tailwind
colors: {
  custom: {
    50: '#a06cbd',
    500: '#742ca0',
    950: '#000000',
  },
}
SCSS
$custom: #742ca0;
$custom-light: #a06cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#742ca0",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 277.241,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.18079,
    "h": 309.3
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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