#742286#742286

#742286 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.168 H 319.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#742286
RGBrgb(116, 34, 134)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(13.4%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.83, 49.52, -38.69)
CIE-LCHlch(30.83, 62.84, 322.00°)
OKLaboklab(42.55% 0.128 -0.1085)
OKLCHoklch(42.55% 0.168 319.7)
XYZxyz(12.0770, 6.5789, 23.1833)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742286 #348622
analogous
#422286 #742286 #862266
triadic
#742286 #867422 #228674
tetradic
#742286 #864222 #348622 #226686
square
#742286 #864222 #348622 #226686
split-complementary
#742286 #668622 #228642
monochromatic
#1F0924 #4A1655 #742286 #9E2EB7 #BB50D3

Accessibility & contrast

On white

9.07
#742286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#742286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742286
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742286#FFFFFF#000000##FFFFFF
##7422861.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2A4B84
Tritanopia (blue-blind)
#743652
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #742286;
/* rgb */ color: rgb(116, 34, 134);
/* oklch */ color: oklch(42.5% 0.168 319.7);
Tailwind
colors: {
  custom: {
    50: '#9f66aa',
    500: '#742286',
    950: '#000000',
  },
}
SCSS
$custom: #742286;
$custom-light: #9f66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#742286",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 289.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.16777,
    "h": 319.7
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#742286
secondary
#61B64E
accent
#E34561
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742286

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

Preview Lab → · Contrast checker → · Palette generator →

#742286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva