#742DBA#742DBA

#742DBA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.206 H 301.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#742DBA
RGBrgb(116, 45, 186)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(37.6%, 75.8%, 0%, 27.1%)
CIE-LABlab(36.24, 56.54, -61.41)
CIE-LCHlch(36.24, 83.47, 312.63°)
OKLaboklab(47.59% 0.1085 -0.1753)
OKLCHoklch(47.59% 0.206 301.8)
XYZxyz(17.0016, 9.1349, 47.3123)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DBA #73BA2D
analogous
#2E2DBA #742DBA #BA2DB9
triadic
#742DBA #BA742D #2DBA74
tetradic
#742DBA #BA2E2D #73BA2D #2DB9BA
square
#742DBA #BA2E2D #73BA2D #2DB9BA
split-complementary
#742DBA #B9BA2D #2DBA2E
monochromatic
#371557 #552189 #742DBA #9350D5 #B181E0

Accessibility & contrast

On white

7.43
#742DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#742DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DBA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DBA#FFFFFF#000000##FFFFFF
##742DBA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#655172
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #742dba;
/* rgb */ color: rgb(116, 45, 186);
/* oklch */ color: oklch(47.6% 0.206 301.8);
Tailwind
colors: {
  custom: {
    50: '#a26dd0',
    500: '#742dba',
    950: '#000000',
  },
}
SCSS
$custom: #742dba;
$custom-light: #a26dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#742dba",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 270.213,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.20611,
    "h": 301.8
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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