#74238E#74238E

#74238E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.174 H 316.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#74238E
RGBrgb(116, 35, 142)
HSLhsl(285, 60%, 35%)
HSVhsv(285, 75%, 56%)
CMYKcmyk(18.3%, 75.4%, 0%, 44.3%)
CIE-LABlab(31.51, 50.75, -42.56)
CIE-LCHlch(31.51, 66.23, 320.02°)
OKLaboklab(43.2% 0.1262 -0.1198)
OKLCHoklch(43.2% 0.174 316.5)
XYZxyz(12.6852, 6.8686, 26.2435)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74238E #3D8E23
analogous
#3F238E #74238E #8E2372
triadic
#74238E #8E7423 #238E74
tetradic
#74238E #8E3F23 #3D8E23 #23728E
square
#74238E #8E3F23 #3D8E23 #23728E
split-complementary
#74238E #728E23 #238E3F
monochromatic
#240B2C #4C175D #74238E #9C2FBF #B656D5

Accessibility & contrast

On white

8.85
#74238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74238E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74238E#FFFFFF#000000##FFFFFF
##74238E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#723A57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74238e;
/* rgb */ color: rgb(116, 35, 142);
/* oklch */ color: oklch(43.2% 0.174 316.5);
Tailwind
colors: {
  custom: {
    50: '#a067b0',
    500: '#74238e',
    950: '#000000',
  },
}
SCSS
$custom: #74238e;
$custom-light: #a067b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74238e",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 285.421,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.17399,
    "h": 316.5
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#74238E
secondary
#6CB953
accent
#E4446B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74238E

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

Preview Lab → · Contrast checker → · Palette generator →

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