#74237B#74237B

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

Color values

HEX#74237B
RGBrgb(116, 35, 123)
HSLhsl(295, 56%, 31%)
HSVhsv(295, 72%, 48%)
CMYKcmyk(5.7%, 71.5%, 0%, 51.8%)
CIE-LABlab(30.27, 46.99, -32.69)
CIE-LCHlch(30.27, 57.24, 325.17°)
OKLaboklab(41.92% 0.1275 -0.0909)
OKLCHoklch(41.92% 0.157 324.5)
XYZxyz(11.3783, 6.3458, 19.3606)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74237B #2A7B23
analogous
#48237B #74237B #7B2356
triadic
#74237B #7B7423 #237B74
tetradic
#74237B #7B4823 #2A7B23 #23567B
square
#74237B #7B4823 #2A7B23 #23567B
split-complementary
#74237B #567B23 #237B48
monochromatic
#1A081C #47154B #74237B #A131AB #C24CCC

Accessibility & contrast

On white

9.26
#74237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74237B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74237B#FFFFFF#000000##FFFFFF
##74237B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#76314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74237b;
/* rgb */ color: rgb(116, 35, 123);
/* oklch */ color: oklch(41.9% 0.157 324.5);
Tailwind
colors: {
  custom: {
    50: '#9f66a1',
    500: '#74237b',
    950: '#000000',
  },
}
SCSS
$custom: #74237b;
$custom-light: #9f66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74237b",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 295.227,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.15658,
    "h": 324.5
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#74237B
secondary
#54AE4C
accent
#DF4955
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74237B

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

Preview Lab → · Contrast checker → · Palette generator →

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