#74237A#74237A

#74237A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.156 H 325.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#74237A
RGBrgb(116, 35, 122)
HSLhsl(296, 55%, 31%)
HSVhsv(296, 71%, 48%)
CMYKcmyk(4.9%, 71.3%, 0%, 52.2%)
CIE-LABlab(30.21, 46.80, -32.16)
CIE-LCHlch(30.21, 56.78, 325.51°)
OKLaboklab(41.86% 0.1275 -0.0894)
OKLCHoklch(41.86% 0.156 325)
XYZxyz(11.3161, 6.3209, 19.0326)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237A #297A23
analogous
#48237A #74237A #7A2354
triadic
#74237A #7A7423 #237A74
tetradic
#74237A #7A4823 #297A23 #23547A
square
#74237A #7A4823 #297A23 #23547A
split-complementary
#74237A #547A23 #237A48
monochromatic
#1A081B #47154A #74237A #A131AA #C34CCC

Accessibility & contrast

On white

9.28
#74237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#74237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74237A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237A#FFFFFF#000000##FFFFFF
##74237A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#77314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74237a;
/* rgb */ color: rgb(116, 35, 122);
/* oklch */ color: oklch(41.9% 0.156 325.0);
Tailwind
colors: {
  custom: {
    50: '#9f66a1',
    500: '#74237a',
    950: '#000000',
  },
}
SCSS
$custom: #74237a;
$custom-light: #9f66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74237a",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 295.862,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.15569,
    "h": 325
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#74237A
secondary
#53AD4C
accent
#DF4953
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #74237A

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

Preview Lab → · Contrast checker → · Palette generator →

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