#4B2FAE#4B2FAE

#4B2FAE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.189 H 285.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4B2FAE
RGBrgb(75, 47, 174)
HSLhsl(253, 57%, 43%)
HSVhsv(253, 73%, 68%)
CMYKcmyk(56.9%, 73%, 0%, 31.8%)
CIE-LABlab(30.84, 45.80, -63.31)
CIE-LCHlch(30.84, 78.14, 305.88°)
OKLaboklab(42.4% 0.0493 -0.1822)
OKLCHoklch(42.4% 0.189 285.1)
XYZxyz(11.5558, 6.5842, 40.6981)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FAE #92AE2F
analogous
#2F53AE #4B2FAE #8A2FAE
triadic
#4B2FAE #AE4B2F #2FAE4B
tetradic
#4B2FAE #AE2F53 #92AE2F #2FAE8A
square
#4B2FAE #AE2F53 #92AE2F #2FAE8A
split-complementary
#4B2FAE #AE8A2F #53AE2F
monochromatic
#21154E #36227E #4B2FAE #694CCF #917CDC

Accessibility & contrast

On white

9.06
#4B2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4B2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FAE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FAE#FFFFFF#000000##FFFFFF
##4B2FAE1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#1A526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2fae;
/* rgb */ color: rgb(75, 47, 174);
/* oklch */ color: oklch(42.4% 0.189 285.1);
Tailwind
colors: {
  custom: {
    50: '#886ac7',
    500: '#4b2fae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fae;
$custom-light: #886ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fae",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 253.228,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.1888,
    "h": 285.1
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#4B2FAE
secondary
#B3C475
accent
#E147BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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