#742285#742285

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

Color values

HEX#742285
RGBrgb(116, 34, 133)
HSLhsl(290, 59%, 33%)
HSVhsv(290, 74%, 52%)
CMYKcmyk(12.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(30.76, 49.32, -38.17)
CIE-LCHlch(30.76, 62.37, 322.26°)
OKLaboklab(42.48% 0.1281 -0.1069)
OKLCHoklch(42.48% 0.167 320.1)
XYZxyz(12.0076, 6.5511, 22.8178)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742285 #338522
analogous
#422285 #742285 #852264
triadic
#742285 #857422 #228574
tetradic
#742285 #854222 #338522 #226485
square
#742285 #854222 #338522 #226485
split-complementary
#742285 #648522 #228542
monochromatic
#1F0924 #491654 #742285 #9F2EB6 #BC4FD2

Accessibility & contrast

On white

9.09
#742285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#742285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742285
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742285#FFFFFF#000000##FFFFFF
##7422851.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#743551
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #742285;
/* rgb */ color: rgb(116, 34, 133);
/* oklch */ color: oklch(42.5% 0.167 320.1);
Tailwind
colors: {
  custom: {
    50: '#9f66a9',
    500: '#742285',
    950: '#000000',
  },
}
SCSS
$custom: #742285;
$custom-light: #9f66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#742285",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 289.697,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.16686,
    "h": 320.1
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#742285
secondary
#5FB64D
accent
#E24560
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #742285

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

Preview Lab → · Contrast checker → · Palette generator →

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