#74287B#74287B

#74287B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 324.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#74287B
RGBrgb(116, 40, 123)
HSLhsl(295, 51%, 32%)
HSVhsv(295, 67%, 48%)
CMYKcmyk(5.7%, 67.5%, 0%, 51.8%)
CIE-LABlab(31.02, 44.87, -31.49)
CIE-LCHlch(31.02, 54.82, 324.94°)
OKLaboklab(42.47% 0.1216 -0.0875)
OKLCHoklch(42.47% 0.15 324.3)
XYZxyz(11.5361, 6.6613, 19.4132)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74287B #2F7B28
analogous
#4B287B #74287B #7B2859
triadic
#74287B #7B7428 #287B74
tetradic
#74287B #7B4B28 #2F7B28 #28597B
square
#74287B #7B4B28 #2F7B28 #28597B
split-complementary
#74287B #597B28 #287B4B
monochromatic
#1D0A1F #48194D #74287B #A037A9 #BE56C8

Accessibility & contrast

On white

9.00
#74287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#74287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74287B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74287B#FFFFFF#000000##FFFFFF
##74287B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#76354E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74287b;
/* rgb */ color: rgb(116, 40, 123);
/* oklch */ color: oklch(42.5% 0.150 324.3);
Tailwind
colors: {
  custom: {
    50: '#9f68a1',
    500: '#74287b',
    950: '#000000',
  },
}
SCSS
$custom: #74287b;
$custom-light: #9f68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74287b",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 294.94,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.14983,
    "h": 324.3
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#74287B
secondary
#5AAD52
accent
#DA4D59
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74287B

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

Preview Lab → · Contrast checker → · Palette generator →

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