#74239F#74239F

#74239F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 310.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#74239F
RGBrgb(116, 35, 159)
HSLhsl(279, 64%, 38%)
HSVhsv(279, 78%, 62%)
CMYKcmyk(27%, 78%, 0%, 37.6%)
CIE-LABlab(32.74, 54.34, -50.96)
CIE-LCHlch(32.74, 74.50, 316.84°)
OKLaboklab(44.47% 0.1234 -0.1445)
OKLCHoklch(44.47% 0.19 310.5)
XYZxyz(14.0603, 7.4186, 33.4854)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74239F #4E9F23
analogous
#36239F #74239F #9F238C
triadic
#74239F #9F7423 #239F74
tetradic
#74239F #9F3623 #4E9F23 #238C9F
square
#74239F #9F3623 #4E9F23 #238C9F
split-complementary
#74239F #8C9F23 #239F36
monochromatic
#2B0D3B #4F186D #74239F #992ED1 #B160DC

Accessibility & contrast

On white

8.46
#74239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#74239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74239F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74239F#FFFFFF#000000##FFFFFF
##74239F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#6E4160
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #74239f;
/* rgb */ color: rgb(116, 35, 159);
/* oklch */ color: oklch(44.5% 0.190 310.5);
Tailwind
colors: {
  custom: {
    50: '#a167bc',
    500: '#74239f',
    950: '#000000',
  },
}
SCSS
$custom: #74239f;
$custom-light: #a167bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74239f",
  "rgb": {
    "r": 116,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 279.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.18997,
    "h": 310.5
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#74239F
secondary
#80C15D
accent
#E7417A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #74239F

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

Preview Lab → · Contrast checker → · Palette generator →

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