#4B2EAE#4B2EAE

#4B2EAE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.190 H 285.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4B2EAE
RGBrgb(75, 46, 174)
HSLhsl(254, 58%, 43%)
HSVhsv(254, 74%, 68%)
CMYKcmyk(56.9%, 73.6%, 0%, 31.8%)
CIE-LABlab(30.65, 46.33, -63.62)
CIE-LCHlch(30.65, 78.70, 306.06°)
OKLaboklab(42.26% 0.0501 -0.1831)
OKLCHoklch(42.26% 0.19 285.3)
XYZxyz(11.5163, 6.5052, 40.6850)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EAE #91AE2E
analogous
#2E51AE #4B2EAE #8B2EAE
triadic
#4B2EAE #AE4B2E #2EAE4B
tetradic
#4B2EAE #AE2E51 #91AE2E #2EAE8B
square
#4B2EAE #AE2E51 #91AE2E #2EAE8B
split-complementary
#4B2EAE #AE8B2E #51AE2E
monochromatic
#21144D #36217E #4B2EAE #684ACF #917ADC

Accessibility & contrast

On white

9.13
#4B2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4B2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EAE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EAE#FFFFFF#000000##FFFFFF
##4B2EAE1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#1A516B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2eae;
/* rgb */ color: rgb(75, 46, 174);
/* oklch */ color: oklch(42.3% 0.190 285.3);
Tailwind
colors: {
  custom: {
    50: '#886ac7',
    500: '#4b2eae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2eae;
$custom-light: #886ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2eae",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 253.594,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.18988,
    "h": 285.3
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#4B2EAE
secondary
#B2C474
accent
#E146BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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