#742DAF#742DAF

#742DAF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.195 H 304.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#742DAF
RGBrgb(116, 45, 175)
HSLhsl(273, 59%, 43%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(35.37, 53.94, -56.31)
CIE-LCHlch(35.37, 77.98, 313.77°)
OKLaboklab(46.7% 0.1109 -0.1603)
OKLCHoklch(46.7% 0.195 304.7)
XYZxyz(15.8770, 8.6850, 41.3891)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742DAF #68AF2D
analogous
#332DAF #742DAF #AF2DA9
triadic
#742DAF #AF742D #2DAF74
tetradic
#742DAF #AF332D #68AF2D #2DA9AF
square
#742DAF #AF332D #68AF2D #2DA9AF
split-complementary
#742DAF #A9AF2D #2DAF33
monochromatic
#33144E #54207E #742DAF #9349D0 #B07ADD

Accessibility & contrast

On white

7.67
#742DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#742DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742DAF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742DAF#FFFFFF#000000##FFFFFF
##742DAF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#694D6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742daf;
/* rgb */ color: rgb(116, 45, 175);
/* oklch */ color: oklch(46.7% 0.195 304.7);
Tailwind
colors: {
  custom: {
    50: '#a16dc8',
    500: '#742daf',
    950: '#000000',
  },
}
SCSS
$custom: #742daf;
$custom-light: #a16dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#742daf",
  "rgb": {
    "r": 116,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 272.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.19489,
    "h": 304.7
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#742DAF
secondary
#98C573
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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