#4A2BA3#4A2BA3

#4A2BA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.180 H 287.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4A2BA3
RGBrgb(74, 43, 163)
HSLhsl(256, 58%, 40%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54.6%, 73.6%, 0%, 36.1%)
CIE-LABlab(28.97, 44.51, -59.76)
CIE-LCHlch(28.97, 74.51, 306.68°)
OKLaboklab(40.74% 0.0536 -0.1718)
OKLCHoklch(40.74% 0.18 287.3)
XYZxyz(10.2968, 5.8274, 35.2255)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BA3 #84A32B
analogous
#2B48A3 #4A2BA3 #862BA3
triadic
#4A2BA3 #A34A2B #2BA34A
tetradic
#4A2BA3 #A32B48 #84A32B #2BA386
square
#4A2BA3 #A32B48 #84A32B #2BA386
split-complementary
#4A2BA3 #A3862B #48A32B
monochromatic
#1E1142 #341E73 #4A2BA3 #633FCC #8B6FD9

Accessibility & contrast

On white

9.70
#4A2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BA3
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BA3#FFFFFF#000000##FFFFFF
##4A2BA31.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#254B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a2ba3;
/* rgb */ color: rgb(74, 43, 163);
/* oklch */ color: oklch(40.7% 0.180 287.3);
Tailwind
colors: {
  custom: {
    50: '#8668bf',
    500: '#4a2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ba3;
$custom-light: #8668bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ba3",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 255.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.18002,
    "h": 287.3
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#4A2BA3
secondary
#AAC06A
accent
#E146B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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