#74286F#74286F

#74286F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 330.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#74286F
RGBrgb(116, 40, 111)
HSLhsl(304, 49%, 31%)
HSVhsv(304, 66%, 45%)
CMYKcmyk(0%, 65.5%, 4.3%, 54.5%)
CIE-LABlab(30.35, 42.62, -24.96)
CIE-LCHlch(30.35, 49.39, 329.65°)
OKLaboklab(41.76% 0.1209 -0.0686)
OKLCHoklch(41.76% 0.139 330.4)
XYZxyz(10.8304, 6.3791, 15.6967)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74286F #28742D
analogous
#532874 #74286F #742849
triadic
#74286F #6F7428 #286F74
tetradic
#74286F #745328 #28742D #284974
square
#74286F #745328 #28742D #284974
split-complementary
#74286F #497428 #287453
monochromatic
#190918 #461843 #74286F #A2389B #C453BC

Accessibility & contrast

On white

9.23
#74286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74286F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74286F#FFFFFF#000000##FFFFFF
##74286F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#783047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74286f;
/* rgb */ color: rgb(116, 40, 111);
/* oklch */ color: oklch(41.8% 0.139 330.4);
Tailwind
colors: {
  custom: {
    50: '#9f6898',
    500: '#74286f',
    950: '#000000',
  },
}
SCSS
$custom: #74286f;
$custom-light: #9f6898;
$custom-dark: #000000;
JSON
{
  "hex": "#74286f",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 303.947,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.13898,
    "h": 330.4
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#74286F
secondary
#52A657
accent
#D85950
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #74286F

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

Preview Lab → · Contrast checker → · Palette generator →

#74286F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva