#74238B#74238B

#74238B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.171 H 317.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#74238B
RGBrgb(116, 35, 139)
HSLhsl(287, 60%, 34%)
HSVhsv(287, 75%, 55%)
CMYKcmyk(16.5%, 74.8%, 0%, 45.5%)
CIE-LABlab(31.30, 50.14, -41.04)
CIE-LCHlch(31.30, 64.79, 320.70°)
OKLaboklab(42.99% 0.1265 -0.1153)
OKLCHoklch(42.99% 0.171 317.6)
XYZxyz(12.4630, 6.7797, 25.0732)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74238B #3A8B23
analogous
#40238B #74238B #8B236E
triadic
#74238B #8B7423 #238B74
tetradic
#74238B #8B4023 #3A8B23 #236E8B
square
#74238B #8B4023 #3A8B23 #236E8B
split-complementary
#74238B #6E8B23 #238B40
monochromatic
#220A29 #4B175A #74238B #9D2FBC #B854D4

Accessibility & contrast

On white

8.91
#74238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#74238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74238B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74238B#FFFFFF#000000##FFFFFF
##74238B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#733855
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74238b;
/* rgb */ color: rgb(116, 35, 139);
/* oklch */ color: oklch(43.0% 0.171 317.6);
Tailwind
colors: {
  custom: {
    50: '#a067ad',
    500: '#74238b',
    950: '#000000',
  },
}
SCSS
$custom: #74238b;
$custom-light: #a067ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74238b",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 286.731,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.1712,
    "h": 317.6
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#74238B
secondary
#68B852
accent
#E34568
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74238B

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

Preview Lab → · Contrast checker → · Palette generator →

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