#4A1076#4A1076

#4A1076 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.157 H 304.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4A1076
RGBrgb(74, 16, 118)
HSLhsl(274, 76%, 26%)
HSVhsv(274, 86%, 46%)
CMYKcmyk(37.3%, 86.4%, 0%, 53.7%)
CIE-LABlab(20.57, 44.47, -45.49)
CIE-LCHlch(20.57, 63.62, 314.35°)
OKLaboklab(33.58% 0.0887 -0.1298)
OKLCHoklch(33.58% 0.157 304.4)
XYZxyz(6.2786, 3.1345, 17.4103)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1076 #3C7610
analogous
#171076 #4A1076 #76106F
triadic
#4A1076 #764A10 #10764A
tetradic
#4A1076 #761710 #3C7610 #106F76
square
#4A1076 #761710 #3C7610 #106F76
split-complementary
#4A1076 #6F7610 #107617
monochromatic
#11041B #280940 #4A1076 #6C17AC #8D20E1

Accessibility & contrast

On white

12.91
#4A1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1076
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1076#FFFFFF#000000##FFFFFF
##4A10761.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#412D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1076;
/* rgb */ color: rgb(74, 16, 118);
/* oklch */ color: oklch(33.6% 0.157 304.4);
Tailwind
colors: {
  custom: {
    50: '#82589e',
    500: '#4a1076',
    950: '#000000',
  },
}
SCSS
$custom: #4a1076;
$custom-light: #82589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1076",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 274.118,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.15722,
    "h": 304.4
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#4A1076
secondary
#69AD35
accent
#F33587
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1076

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

Preview Lab → · Contrast checker → · Palette generator →

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