#4A2BAE#4A2BAE

#4A2BAE is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.193 H 285.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4A2BAE
RGBrgb(74, 43, 174)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 68%)
CMYKcmyk(57.5%, 75.3%, 0%, 31.8%)
CIE-LABlab(30.01, 47.74, -64.68)
CIE-LCHlch(30.01, 80.39, 306.43°)
OKLaboklab(41.78% 0.0509 -0.1863)
OKLCHoklch(41.78% 0.193 285.3)
XYZxyz(11.3256, 6.2389, 40.6436)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BAE #8FAE2B
analogous
#2B4EAE #4A2BAE #8B2BAE
triadic
#4A2BAE #AE4A2B #2BAE4A
tetradic
#4A2BAE #AE2B4E #8FAE2B #2BAE8B
square
#4A2BAE #AE2B4E #8FAE2B #2BAE8B
split-complementary
#4A2BAE #AE8B2B #4EAE2B
monochromatic
#20134C #351F7D #4A2BAE #6645D1 #8F76DD

Accessibility & contrast

On white

9.34
#4A2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BAE
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BAE#FFFFFF#000000##FFFFFF
##4A2BAE1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#17506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a2bae;
/* rgb */ color: rgb(74, 43, 174);
/* oklch */ color: oklch(41.8% 0.193 285.3);
Tailwind
colors: {
  custom: {
    50: '#8868c7',
    500: '#4a2bae',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bae;
$custom-light: #8868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bae",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 254.198,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.1931,
    "h": 285.3
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#4A2BAE
secondary
#B1C570
accent
#E444BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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