#742DC0#742DC0

#742DC0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.212 H 300.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#742DC0
RGBrgb(116, 45, 192)
HSLhsl(269, 62%, 46%)
HSVhsv(269, 77%, 75%)
CMYKcmyk(39.6%, 76.6%, 0%, 24.7%)
CIE-LABlab(36.73, 57.97, -64.14)
CIE-LCHlch(36.73, 86.45, 312.11°)
OKLaboklab(48.09% 0.107 -0.1833)
OKLCHoklch(48.09% 0.212 300.3)
XYZxyz(17.6529, 9.3954, 50.7424)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DC0 #79C02D
analogous
#2D2FC0 #742DC0 #BE2DC0
triadic
#742DC0 #C0742D #2DC074
tetradic
#742DC0 #C02D2F #79C02D #2DC0BE
square
#742DC0 #C02D2F #79C02D #2DC0BE
split-complementary
#742DC0 #C0BE2D #2FC02D
monochromatic
#38165D #56218E #742DC0 #9353D7 #B285E2

Accessibility & contrast

On white

7.29
#742DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#742DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DC0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DC0#FFFFFF#000000##FFFFFF
##742DC01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#625475
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742dc0;
/* rgb */ color: rgb(116, 45, 192);
/* oklch */ color: oklch(48.1% 0.212 300.3);
Tailwind
colors: {
  custom: {
    50: '#a36ed4',
    500: '#742dc0',
    950: '#000000',
  },
}
SCSS
$custom: #742dc0;
$custom-light: #a36ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#742dc0",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 268.98,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.21221,
    "h": 300.3
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#742DC0
secondary
#A6CC7D
accent
#E54397
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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