#742267#742267

#742267 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.141 H 334.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#742267
RGBrgb(116, 34, 103)
HSLhsl(310, 55%, 29%)
HSVhsv(310, 71%, 45%)
CMYKcmyk(0%, 70.7%, 11.2%, 54.5%)
CIE-LABlab(29.00, 43.83, -21.94)
CIE-LCHlch(29.00, 49.01, 333.40°)
OKLaboklab(40.64% 0.1275 -0.0599)
OKLCHoklch(40.64% 0.141 334.8)
XYZxyz(10.2228, 5.8372, 13.4176)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742267 #22742F
analogous
#582274 #742267 #74223E
triadic
#742267 #677422 #226774
tetradic
#742267 #745822 #22742F #223E74
square
#742267 #745822 #22742F #223E74
split-complementary
#742267 #3E7422 #227458
monochromatic
#180715 #45143D #742267 #A33091 #C947B5

Accessibility & contrast

On white

9.69
#742267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#742267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742267
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742267#FFFFFF#000000##FFFFFF
##7422671.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D69
Deuteranopia (green-blind)
#3D4965
Tritanopia (blue-blind)
#7A2841
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #742267;
/* rgb */ color: rgb(116, 34, 103);
/* oklch */ color: oklch(40.6% 0.141 334.8);
Tailwind
colors: {
  custom: {
    50: '#9f6592',
    500: '#742267',
    950: '#000000',
  },
}
SCSS
$custom: #742267;
$custom-light: #9f6592;
$custom-dark: #000000;
JSON
{
  "hex": "#742267",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 309.512,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.14089,
    "h": 334.8
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#742267
secondary
#4BA759
accent
#DE614A
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #742267

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

Preview Lab → · Contrast checker → · Palette generator →

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