#4A326A#4A326A

#4A326A is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.3% C 0.095 H 301.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4A326A
RGBrgb(74, 50, 106)
HSLhsl(266, 36%, 31%)
HSVhsv(266, 53%, 42%)
CMYKcmyk(30.2%, 52.8%, 0%, 58.4%)
CIE-LABlab(26.09, 23.73, -28.87)
CIE-LCHlch(26.09, 37.37, 309.41°)
OKLaboklab(37.27% 0.0502 -0.0812)
OKLCHoklch(37.27% 0.095 301.7)
XYZxyz(6.5656, 4.7776, 14.2092)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A326A #526A32
analogous
#32366A #4A326A #66326A
triadic
#4A326A #6A4A32 #326A4A
tetradic
#4A326A #6A3236 #526A32 #326A66
square
#4A326A #6A3236 #526A32 #326A66
split-complementary
#4A326A #6A6632 #366A32
monochromatic
#100B17 #2D1E40 #4A326A #674694 #8562B5

Accessibility & contrast

On white

10.74
#4A326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A326A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A326A#FFFFFF#000000##FFFFFF
##4A326A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#263E69
Tritanopia (blue-blind)
#443C49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a326a;
/* rgb */ color: rgb(74, 50, 106);
/* oklch */ color: oklch(37.3% 0.095 301.7);
Tailwind
colors: {
  custom: {
    50: '#7e6a95',
    500: '#4a326a',
    950: '#000000',
  },
}
SCSS
$custom: #4a326a;
$custom-light: #7e6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#4a326a",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 265.714,
    "s": 35.897,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37265,
    "c": 0.09547,
    "h": 301.7
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#4A326A
secondary
#809B5D
accent
#CC5C9C
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4A326A

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

Preview Lab → · Contrast checker → · Palette generator →

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