#742CBF#742CBF

#742CBF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.212 H 300.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#742CBF
RGBrgb(116, 44, 191)
HSLhsl(269, 63%, 46%)
HSVhsv(269, 77%, 75%)
CMYKcmyk(39.3%, 77%, 0%, 25.1%)
CIE-LABlab(36.51, 58.14, -63.92)
CIE-LCHlch(36.51, 86.40, 312.29°)
OKLaboklab(47.9% 0.1081 -0.1826)
OKLCHoklch(47.9% 0.212 300.6)
XYZxyz(17.5048, 9.2758, 50.1483)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CBF #77BF2C
analogous
#2C2DBF #742CBF #BD2CBF
triadic
#742CBF #BF742C #2CBF74
tetradic
#742CBF #BF2C2D #77BF2C #2CBFBD
square
#742CBF #BF2C2D #77BF2C #2CBFBD
split-complementary
#742CBF #BFBD2C #2DBF2C
monochromatic
#38155C #56218D #742CBF #9351D7 #B283E2

Accessibility & contrast

On white

7.36
#742CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#742CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CBF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CBF#FFFFFF#000000##FFFFFF
##742CBF1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#635375
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742cbf;
/* rgb */ color: rgb(116, 44, 191);
/* oklch */ color: oklch(47.9% 0.212 300.6);
Tailwind
colors: {
  custom: {
    50: '#a36dd3',
    500: '#742cbf',
    950: '#000000',
  },
}
SCSS
$custom: #742cbf;
$custom-light: #a36dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#742cbf",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 269.388,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.2122,
    "h": 300.6
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#742CBF
secondary
#A4CC7B
accent
#E64296
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #742CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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