#74267E#74267E

#74267E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 323.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#74267E
RGBrgb(116, 38, 126)
HSLhsl(293, 54%, 32%)
HSVhsv(293, 70%, 49%)
CMYKcmyk(7.9%, 69.8%, 0%, 50.6%)
CIE-LABlab(30.89, 46.32, -33.58)
CIE-LCHlch(30.89, 57.22, 324.06°)
OKLaboklab(42.43% 0.124 -0.0936)
OKLCHoklch(42.43% 0.155 323)
XYZxyz(11.6611, 6.6062, 20.3955)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74267E #307E26
analogous
#48267E #74267E #7E265C
triadic
#74267E #7E7426 #267E74
tetradic
#74267E #7E4826 #307E26 #265C7E
square
#74267E #7E4826 #307E26 #265C7E
split-complementary
#74267E #5C7E26 #267E48
monochromatic
#1D0A20 #49184F #74267E #9F34AD #BE53CB

Accessibility & contrast

On white

9.05
#74267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#74267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74267E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74267E#FFFFFF#000000##FFFFFF
##74267E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#76354F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74267e;
/* rgb */ color: rgb(116, 38, 126);
/* oklch */ color: oklch(42.4% 0.155 323.0);
Tailwind
colors: {
  custom: {
    50: '#9f67a4',
    500: '#74267e',
    950: '#000000',
  },
}
SCSS
$custom: #74267e;
$custom-light: #9f67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74267e",
  "rgb": {
    "r": 116,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 293.182,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.15536,
    "h": 323
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#74267E
secondary
#5BB050
accent
#DD4B5B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74267E

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

Preview Lab → · Contrast checker → · Palette generator →

#74267E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva