#4B2AAE#4B2AAE

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

Color values

HEX#4B2AAE
RGBrgb(75, 42, 174)
HSLhsl(255, 61%, 42%)
HSVhsv(255, 76%, 68%)
CMYKcmyk(56.9%, 75.9%, 0%, 31.8%)
CIE-LABlab(29.93, 48.37, -64.81)
CIE-LCHlch(29.93, 80.87, 306.74°)
OKLaboklab(41.75% 0.0532 -0.1866)
OKLCHoklch(41.75% 0.194 285.9)
XYZxyz(11.3673, 6.2071, 40.6353)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AAE #8DAE2A
analogous
#2A4BAE #4B2AAE #8D2AAE
triadic
#4B2AAE #AE4B2A #2AAE4B
tetradic
#4B2AAE #AE2A4B #8DAE2A #2AAE8D
square
#4B2AAE #AE2A4B #8DAE2A #2AAE8D
split-complementary
#4B2AAE #AE8D2A #4BAE2A
monochromatic
#21124B #361E7D #4B2AAE #6743D2 #8F75DE

Accessibility & contrast

On white

9.37
#4B2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4B2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AAE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AAE#FFFFFF#000000##FFFFFF
##4B2AAE1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#1B4F6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2aae;
/* rgb */ color: rgb(75, 42, 174);
/* oklch */ color: oklch(41.8% 0.194 285.9);
Tailwind
colors: {
  custom: {
    50: '#8968c7',
    500: '#4b2aae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aae;
$custom-light: #8968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aae",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 255,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.19401,
    "h": 285.9
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#4B2AAE
secondary
#B0C56F
accent
#E444BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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