#4A1374#4A1374

#4A1374 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.152 H 304.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#4A1374
RGBrgb(74, 19, 116)
HSLhsl(274, 72%, 26%)
HSVhsv(274, 84%, 45%)
CMYKcmyk(36.2%, 83.6%, 0%, 54.5%)
CIE-LABlab(20.76, 42.92, -43.90)
CIE-LCHlch(20.76, 61.39, 314.35°)
OKLaboklab(33.65% 0.087 -0.1252)
OKLCHoklch(33.65% 0.152 304.8)
XYZxyz(6.2086, 3.1826, 16.8068)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1374 #3D7413
analogous
#1A1374 #4A1374 #74136E
triadic
#4A1374 #744A13 #13744A
tetradic
#4A1374 #741A13 #3D7413 #136E74
square
#4A1374 #741A13 #3D7413 #136E74
split-complementary
#4A1374 #6E7413 #13741A
monochromatic
#11041A #280A3F #4A1374 #6C1CA9 #8D26DB

Accessibility & contrast

On white

12.83
#4A1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4A1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1374
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1374#FFFFFF#000000##FFFFFF
##4A13741.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#422D44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1374;
/* rgb */ color: rgb(74, 19, 116);
/* oklch */ color: oklch(33.7% 0.152 304.8);
Tailwind
colors: {
  custom: {
    50: '#81599d',
    500: '#4a1374',
    950: '#000000',
  },
}
SCSS
$custom: #4a1374;
$custom-light: #81599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1374",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 274.021,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33651,
    "c": 0.15245,
    "h": 304.8
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#4A1374
secondary
#6AAA38
accent
#EF3988
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1374

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

Preview Lab → · Contrast checker → · Palette generator →

#4A1374 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva