#74237C#74237C

#74237C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.157 H 324.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#74237C
RGBrgb(116, 35, 124)
HSLhsl(295, 56%, 31%)
HSVhsv(295, 72%, 49%)
CMYKcmyk(6.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(30.33, 47.18, -33.22)
CIE-LCHlch(30.33, 57.70, 324.85°)
OKLaboklab(41.99% 0.1275 -0.0925)
OKLCHoklch(41.99% 0.157 324)
XYZxyz(11.4413, 6.3710, 19.6920)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237C #2B7C23
analogous
#47237C #74237C #7C2357
triadic
#74237C #7C7423 #237C74
tetradic
#74237C #7C4723 #2B7C23 #23577C
square
#74237C #7C4723 #2B7C23 #23577C
split-complementary
#74237C #577C23 #237C47
monochromatic
#1B081D #47164C #74237C #A130AC #C14DCD

Accessibility & contrast

On white

9.23
#74237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#74237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74237C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237C#FFFFFF#000000##FFFFFF
##74237C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#76324D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74237c;
/* rgb */ color: rgb(116, 35, 124);
/* oklch */ color: oklch(42.0% 0.157 324.0);
Tailwind
colors: {
  custom: {
    50: '#9f66a2',
    500: '#74237c',
    950: '#000000',
  },
}
SCSS
$custom: #74237c;
$custom-light: #9f66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74237c",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 294.607,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.15748,
    "h": 324
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#74237C
secondary
#55AF4C
accent
#DF4956
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74237C

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

Preview Lab → · Contrast checker → · Palette generator →

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