#742EAF#742EAF

#742EAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.194 H 304.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#742EAF
RGBrgb(116, 46, 175)
HSLhsl(273, 58%, 43%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(35.52, 53.51, -56.06)
CIE-LCHlch(35.52, 77.50, 313.67°)
OKLaboklab(46.81% 0.1099 -0.1595)
OKLCHoklch(46.81% 0.194 304.6)
XYZxyz(15.9156, 8.7622, 41.4019)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EAF #69AF2E
analogous
#332EAF #742EAF #AF2EA9
triadic
#742EAF #AF742E #2EAF74
tetradic
#742EAF #AF332E #69AF2E #2EA9AF
square
#742EAF #AF332E #69AF2E #2EA9AF
split-complementary
#742EAF #A9AF2E #2EAF33
monochromatic
#34154E #54217F #742EAF #934BD0 #B07BDC

Accessibility & contrast

On white

7.63
#742EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#742EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EAF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EAF#FFFFFF#000000##FFFFFF
##742EAF1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#694D6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742eaf;
/* rgb */ color: rgb(116, 46, 175);
/* oklch */ color: oklch(46.8% 0.194 304.6);
Tailwind
colors: {
  custom: {
    50: '#a16dc8',
    500: '#742eaf',
    950: '#000000',
  },
}
SCSS
$custom: #742eaf;
$custom-light: #a16dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#742eaf",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 272.558,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.19375,
    "h": 304.6
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#742EAF
secondary
#99C574
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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