#4A3072#4A3072

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

Color values

HEX#4A3072
RGBrgb(74, 48, 114)
HSLhsl(264, 41%, 32%)
HSVhsv(264, 58%, 45%)
CMYKcmyk(35.1%, 57.9%, 0%, 55.3%)
CIE-LABlab(26.11, 27.24, -33.97)
CIE-LCHlch(26.11, 43.54, 308.73°)
OKLaboklab(37.45% 0.0537 -0.0961)
OKLCHoklch(37.45% 0.11 299.2)
XYZxyz(6.9175, 4.7846, 16.4754)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3072 #587230
analogous
#303772 #4A3072 #6B3072
triadic
#4A3072 #724A30 #30724A
tetradic
#4A3072 #723037 #587230 #30726B
square
#4A3072 #723037 #587230 #30726B
split-complementary
#4A3072 #726B30 #377230
monochromatic
#120C1C #2E1E47 #4A3072 #66429D #8460BC

Accessibility & contrast

On white

10.73
#4A3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3072
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3072#FFFFFF#000000##FFFFFF
##4A30721.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#413D4C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a3072;
/* rgb */ color: rgb(74, 48, 114);
/* oklch */ color: oklch(37.4% 0.110 299.2);
Tailwind
colors: {
  custom: {
    50: '#7f699b',
    500: '#4a3072',
    950: '#000000',
  },
}
SCSS
$custom: #4a3072;
$custom-light: #7f699b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3072",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 263.636,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.11009,
    "h": 299.2
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#4A3072
secondary
#87A35B
accent
#D157A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4A3072

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

Preview Lab → · Contrast checker → · Palette generator →

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