#4B2BA6#4B2BA6

#4B2BA6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.184 H 287.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA6
RGBrgb(75, 43, 166)
HSLhsl(256, 59%, 41%)
HSVhsv(256, 74%, 65%)
CMYKcmyk(54.8%, 74.1%, 0%, 34.9%)
CIE-LABlab(29.35, 45.54, -60.94)
CIE-LCHlch(29.35, 76.08, 306.77°)
OKLaboklab(41.12% 0.0544 -0.1753)
OKLCHoklch(41.12% 0.184 287.2)
XYZxyz(10.6464, 5.9762, 36.6615)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA6 #86A62B
analogous
#2B48A6 #4B2BA6 #882BA6
triadic
#4B2BA6 #A64B2B #2BA64B
tetradic
#4B2BA6 #A62B48 #86A62B #2BA688
square
#4B2BA6 #A62B48 #86A62B #2BA688
split-complementary
#4B2BA6 #A6882B #48A62B
monochromatic
#1F1245 #351E75 #4B2BA6 #6541CE #8C71DA

Accessibility & contrast

On white

9.57
#4B2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA6
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA6#FFFFFF#000000##FFFFFF
##4B2BA61.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#254D66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ba6;
/* rgb */ color: rgb(75, 43, 166);
/* oklch */ color: oklch(41.1% 0.184 287.2);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4b2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba6;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba6",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 255.61,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.18354,
    "h": 287.2
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#4B2BA6
secondary
#ABC16B
accent
#E246B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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