#74237F#74237F

#74237F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.160 H 322.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#74237F
RGBrgb(116, 35, 127)
HSLhsl(293, 57%, 32%)
HSVhsv(293, 72%, 50%)
CMYKcmyk(8.7%, 72.4%, 0%, 50.2%)
CIE-LABlab(30.52, 47.76, -34.81)
CIE-LCHlch(30.52, 59.10, 323.91°)
OKLaboklab(42.18% 0.1274 -0.0971)
OKLCHoklch(42.18% 0.16 322.7)
XYZxyz(11.6339, 6.4480, 20.7064)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237F #2E7F23
analogous
#46237F #74237F #7F235C
triadic
#74237F #7F7423 #237F74
tetradic
#74237F #7F4623 #2E7F23 #235C7F
square
#74237F #7F4623 #2E7F23 #235C7F
split-complementary
#74237F #5C7F23 #237F46
monochromatic
#1C091F #48164F #74237F #A030AF #BF4ECE

Accessibility & contrast

On white

9.17
#74237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#74237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74237F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237F#FFFFFF#000000##FFFFFF
##74237F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034282
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#76334E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74237f;
/* rgb */ color: rgb(116, 35, 127);
/* oklch */ color: oklch(42.2% 0.160 322.7);
Tailwind
colors: {
  custom: {
    50: '#9f66a4',
    500: '#74237f',
    950: '#000000',
  },
}
SCSS
$custom: #74237f;
$custom-light: #9f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74237f",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 292.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.16018,
    "h": 322.7
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#74237F
secondary
#59B14C
accent
#E0485A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74237F

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

Preview Lab → · Contrast checker → · Palette generator →

#74237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva