#4A3192#4A3192

#4A3192 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.151 H 289.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4A3192
RGBrgb(74, 49, 146)
HSLhsl(255, 50%, 38%)
HSVhsv(255, 66%, 57%)
CMYKcmyk(49.3%, 66.4%, 0%, 42.7%)
CIE-LABlab(28.71, 36.08, -49.81)
CIE-LCHlch(28.71, 61.50, 305.92°)
OKLaboklab(40.1% 0.0509 -0.1427)
OKLCHoklch(40.1% 0.151 289.6)
XYZxyz(9.1092, 5.7274, 27.8141)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3192 #799231
analogous
#314892 #4A3192 #7A3192
triadic
#4A3192 #924A31 #31924A
tetradic
#4A3192 #923148 #799231 #31927A
square
#4A3192 #923148 #799231 #31927A
split-complementary
#4A3192 #927A31 #489231
monochromatic
#1C1236 #332264 #4A3192 #6241BF #876FCF

Accessibility & contrast

On white

9.79
#4A3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3192
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3192#FFFFFF#000000##FFFFFF
##4A31921.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#32485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a3192;
/* rgb */ color: rgb(74, 49, 146);
/* oklch */ color: oklch(40.1% 0.151 289.6);
Tailwind
colors: {
  custom: {
    50: '#836bb3',
    500: '#4a3192',
    950: '#000000',
  },
}
SCSS
$custom: #4a3192;
$custom-light: #836bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3192",
  "rgb": {
    "r": 74,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 255.464,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.15148,
    "h": 289.6
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#4A3192
secondary
#A2B669
accent
#D94FB6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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