#4A3071#4A3071

#4A3071 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.109 H 299.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4A3071
RGBrgb(74, 48, 113)
HSLhsl(264, 40%, 32%)
HSVhsv(264, 58%, 44%)
CMYKcmyk(34.5%, 57.5%, 0%, 55.7%)
CIE-LABlab(26.05, 26.95, -33.44)
CIE-LCHlch(26.05, 42.95, 308.87°)
OKLaboklab(37.38% 0.0537 -0.0945)
OKLCHoklch(37.38% 0.109 299.6)
XYZxyz(6.8609, 4.7620, 16.1773)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3071 #577130
analogous
#303771 #4A3071 #6B3071
triadic
#4A3071 #714A30 #30714A
tetradic
#4A3071 #713037 #577130 #30716B
square
#4A3071 #713037 #577130 #30716B
split-complementary
#4A3071 #716B30 #377130
monochromatic
#120C1B #2E1E46 #4A3071 #66429C #8560BB

Accessibility & contrast

On white

10.76
#4A3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3071
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3071#FFFFFF#000000##FFFFFF
##4A30711.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E73
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#423D4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a3071;
/* rgb */ color: rgb(74, 48, 113);
/* oklch */ color: oklch(37.4% 0.109 299.6);
Tailwind
colors: {
  custom: {
    50: '#7f699a',
    500: '#4a3071',
    950: '#000000',
  },
}
SCSS
$custom: #4a3071;
$custom-light: #7f699a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3071",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 264,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37375,
    "c": 0.10872,
    "h": 299.6
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#4A3071
secondary
#86A25B
accent
#D058A0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4A3071

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

Preview Lab → · Contrast checker → · Palette generator →

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