#4A326F#4A326F

#4A326F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.6% C 0.103 H 299.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4A326F
RGBrgb(74, 50, 111)
HSLhsl(264, 38%, 32%)
HSVhsv(264, 55%, 44%)
CMYKcmyk(33.3%, 55%, 0%, 56.5%)
CIE-LABlab(26.40, 25.13, -31.58)
CIE-LCHlch(26.40, 40.36, 308.51°)
OKLaboklab(37.6% 0.0507 -0.0891)
OKLCHoklch(37.6% 0.103 299.6)
XYZxyz(6.8332, 4.8847, 15.6187)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A326F #576F32
analogous
#32396F #4A326F #69326F
triadic
#4A326F #6F4A32 #326F4A
tetradic
#4A326F #6F3239 #576F32 #326F69
square
#4A326F #6F3239 #576F32 #326F69
split-complementary
#4A326F #6F6932 #396F32
monochromatic
#120C1B #2E1F45 #4A326F #664599 #8563B9

Accessibility & contrast

On white

10.62
#4A326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A326F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A326F#FFFFFF#000000##FFFFFF
##4A326F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#423E4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a326f;
/* rgb */ color: rgb(74, 50, 111);
/* oklch */ color: oklch(37.6% 0.103 299.6);
Tailwind
colors: {
  custom: {
    50: '#7f6a99',
    500: '#4a326f',
    950: '#000000',
  },
}
SCSS
$custom: #4a326f;
$custom-light: #7f6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#4a326f",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 263.607,
    "s": 37.888,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37598,
    "c": 0.10252,
    "h": 299.6
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#4A326F
secondary
#86A05D
accent
#CE5AA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4A326F

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

Preview Lab → · Contrast checker → · Palette generator →

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