#4A2BAA#4A2BAA

#4A2BAA is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.188 H 286.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4A2BAA
RGBrgb(74, 43, 170)
HSLhsl(255, 60%, 42%)
HSVhsv(255, 75%, 67%)
CMYKcmyk(56.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(29.63, 46.56, -62.91)
CIE-LCHlch(29.63, 78.26, 306.51°)
OKLaboklab(41.4% 0.0519 -0.1811)
OKLCHoklch(41.4% 0.188 286)
XYZxyz(10.9414, 6.0853, 38.6204)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BAA #8BAA2B
analogous
#2B4CAA #4A2BAA #8A2BAA
triadic
#4A2BAA #AA4A2B #2BAA4A
tetradic
#4A2BAA #AA2B4C #8BAA2B #2BAA8A
square
#4A2BAA #AA2B4C #8BAA2B #2BAA8A
split-complementary
#4A2BAA #AA8A2B #4CAA2B
monochromatic
#1F1248 #351F79 #4A2BAA #6543CF #8D74DC

Accessibility & contrast

On white

9.47
#4A2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4A2BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BAA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BAA#FFFFFF#000000##FFFFFF
##4A2BAA1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#1D4E68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a2baa;
/* rgb */ color: rgb(74, 43, 170);
/* oklch */ color: oklch(41.4% 0.188 286.0);
Tailwind
colors: {
  custom: {
    50: '#8768c4',
    500: '#4a2baa',
    950: '#000000',
  },
}
SCSS
$custom: #4a2baa;
$custom-light: #8768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2baa",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 254.646,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.18837,
    "h": 286
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#4A2BAA
secondary
#AEC36E
accent
#E345BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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