#4A3296#4A3296

#4A3296 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.155 H 288.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4A3296
RGBrgb(74, 50, 150)
HSLhsl(254, 50%, 39%)
HSVhsv(254, 67%, 59%)
CMYKcmyk(50.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.26, 36.71, -51.38)
CIE-LCHlch(29.26, 63.14, 305.54°)
OKLaboklab(40.59% 0.0494 -0.1473)
OKLCHoklch(40.59% 0.155 288.5)
XYZxyz(9.4681, 5.9386, 29.4956)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3296 #7E9632
analogous
#324C96 #4A3296 #7C3296
triadic
#4A3296 #964A32 #32964A
tetradic
#4A3296 #96324C #7E9632 #32967C
square
#4A3296 #96324C #7E9632 #32967C
split-complementary
#4A3296 #967C32 #4C9632
monochromatic
#1D133A #332368 #4A3296 #6244C1 #8972D0

Accessibility & contrast

On white

9.60
#4A3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3296
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3296#FFFFFF#000000##FFFFFF
##4A32961.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#304A5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a3296;
/* rgb */ color: rgb(74, 50, 150);
/* oklch */ color: oklch(40.6% 0.155 288.5);
Tailwind
colors: {
  custom: {
    50: '#846bb6',
    500: '#4a3296',
    950: '#000000',
  },
}
SCSS
$custom: #4a3296;
$custom-light: #846bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3296",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 254.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40592,
    "c": 0.15533,
    "h": 288.5
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#4A3296
secondary
#A6B86C
accent
#DA4EB8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4A3296

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

Preview Lab → · Contrast checker → · Palette generator →

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