#74237D#74237D

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

Color values

HEX#74237D
RGBrgb(116, 35, 125)
HSLhsl(294, 56%, 31%)
HSVhsv(294, 72%, 49%)
CMYKcmyk(7.2%, 72%, 0%, 51%)
CIE-LABlab(30.39, 47.37, -33.76)
CIE-LCHlch(30.39, 58.17, 324.53°)
OKLaboklab(42.05% 0.1274 -0.094)
OKLCHoklch(42.05% 0.158 323.6)
XYZxyz(11.5048, 6.3964, 20.0267)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237D #2C7D23
analogous
#47237D #74237D #7D2359
triadic
#74237D #7D7423 #237D74
tetradic
#74237D #7D4723 #2C7D23 #23597D
square
#74237D #7D4723 #2C7D23 #23597D
split-complementary
#74237D #597D23 #237D47
monochromatic
#1B081D #48164D #74237D #A030AD #C04DCD

Accessibility & contrast

On white

9.21
#74237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74237D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237D#FFFFFF#000000##FFFFFF
##74237D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074180
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#76324D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74237d;
/* rgb */ color: rgb(116, 35, 125);
/* oklch */ color: oklch(42.0% 0.158 323.6);
Tailwind
colors: {
  custom: {
    50: '#9f66a3',
    500: '#74237d',
    950: '#000000',
  },
}
SCSS
$custom: #74237d;
$custom-light: #9f66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#74237d",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 294,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.15838,
    "h": 323.6
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#74237D
secondary
#56AF4C
accent
#E04857
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74237D

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

Preview Lab → · Contrast checker → · Palette generator →

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