#74288B#74288B

#74288B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.165 H 317.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#74288B
RGBrgb(116, 40, 139)
HSLhsl(286, 55%, 35%)
HSVhsv(286, 71%, 55%)
CMYKcmyk(16.5%, 71.2%, 0%, 45.5%)
CIE-LABlab(32.02, 48.09, -39.88)
CIE-LCHlch(32.02, 62.47, 320.34°)
OKLaboklab(43.51% 0.1212 -0.112)
OKLCHoklch(43.51% 0.165 317.3)
XYZxyz(12.6208, 7.0952, 25.1258)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74288B #3F8B28
analogous
#43288B #74288B #8B2870
triadic
#74288B #8B7428 #288B74
tetradic
#74288B #8B4328 #3F8B28 #28708B
square
#74288B #8B4328 #3F8B28 #28708B
split-complementary
#74288B #708B28 #288B43
monochromatic
#250D2C #4C1A5B #74288B #9C36BB #B65DD0

Accessibility & contrast

On white

8.68
#74288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#74288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74288B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74288B#FFFFFF#000000##FFFFFF
##74288B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#733B56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74288b;
/* rgb */ color: rgb(116, 40, 139);
/* oklch */ color: oklch(43.5% 0.165 317.3);
Tailwind
colors: {
  custom: {
    50: '#9f69ad',
    500: '#74288b',
    950: '#000000',
  },
}
SCSS
$custom: #74288b;
$custom-light: #9f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74288b",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 286.061,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.16501,
    "h": 317.3
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#74288B
secondary
#6FB659
accent
#DF496C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74288B

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

Preview Lab → · Contrast checker → · Palette generator →

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