#4A336A#4A336A

#4A336A is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.5% C 0.094 H 301.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4A336A
RGBrgb(74, 51, 106)
HSLhsl(265, 35%, 31%)
HSVhsv(265, 52%, 42%)
CMYKcmyk(30.2%, 51.9%, 0%, 58.4%)
CIE-LABlab(26.34, 23.09, -28.47)
CIE-LCHlch(26.34, 36.66, 309.04°)
OKLaboklab(37.45% 0.0487 -0.08)
OKLCHoklch(37.45% 0.094 301.3)
XYZxyz(6.6088, 4.8641, 14.2236)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A336A #536A33
analogous
#33376A #4A336A #65336A
triadic
#4A336A #6A4A33 #336A4A
tetradic
#4A336A #6A3337 #536A33 #336A65
square
#4A336A #6A3337 #536A33 #336A65
split-complementary
#4A336A #6A6533 #376A33
monochromatic
#100B17 #2D1F41 #4A336A #674793 #8563B4

Accessibility & contrast

On white

10.64
#4A336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A336A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A336A#FFFFFF#000000##FFFFFF
##4A336A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#283E69
Tritanopia (blue-blind)
#443D49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a336a;
/* rgb */ color: rgb(74, 51, 106);
/* oklch */ color: oklch(37.5% 0.094 301.3);
Tailwind
colors: {
  custom: {
    50: '#7e6b95',
    500: '#4a336a',
    950: '#000000',
  },
}
SCSS
$custom: #4a336a;
$custom-light: #7e6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4a336a",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 265.091,
    "s": 35.032,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.09367,
    "h": 301.3
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#4A336A
secondary
#819B5E
accent
#CB5D9D
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4A336A

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

Preview Lab → · Contrast checker → · Palette generator →

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