#742DB9#742DB9

#742DB9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.205 H 302.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#742DB9
RGBrgb(116, 45, 185)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(37.3%, 75.7%, 0%, 27.5%)
CIE-LABlab(36.16, 56.30, -60.95)
CIE-LCHlch(36.16, 82.98, 312.73°)
OKLaboklab(47.51% 0.1087 -0.1739)
OKLCHoklch(47.51% 0.205 302)
XYZxyz(16.8957, 9.0925, 46.7544)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DB9 #72B92D
analogous
#2E2DB9 #742DB9 #B92DB8
triadic
#742DB9 #B9742D #2DB974
tetradic
#742DB9 #B92E2D #72B92D #2DB8B9
square
#742DB9 #B92E2D #72B92D #2DB8B9
split-complementary
#742DB9 #B8B92D #2DB92E
monochromatic
#361557 #552188 #742DB9 #934FD4 #B180E0

Accessibility & contrast

On white

7.45
#742DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#742DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DB9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DB9#FFFFFF#000000##FFFFFF
##742DB91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#655171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742db9;
/* rgb */ color: rgb(116, 45, 185);
/* oklch */ color: oklch(47.5% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#a26dcf',
    500: '#742db9',
    950: '#000000',
  },
}
SCSS
$custom: #742db9;
$custom-light: #a26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#742db9",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 270.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.20509,
    "h": 302
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#742DB9
secondary
#A0C979
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #742DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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