#4B2BA8#4B2BA8

#4B2BA8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.186 H 286.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA8
RGBrgb(75, 43, 168)
HSLhsl(255, 59%, 41%)
HSVhsv(255, 74%, 66%)
CMYKcmyk(55.4%, 74.4%, 0%, 34.1%)
CIE-LABlab(29.54, 46.12, -61.84)
CIE-LCHlch(29.54, 77.15, 306.71°)
OKLaboklab(41.3% 0.0539 -0.1779)
OKLCHoklch(41.3% 0.186 286.9)
XYZxyz(10.8313, 6.0502, 37.6353)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA8 #88A82B
analogous
#2B4AA8 #4B2BA8 #8A2BA8
triadic
#4B2BA8 #A84B2B #2BA84B
tetradic
#4B2BA8 #A82B4A #88A82B #2BA88A
square
#4B2BA8 #A82B4A #88A82B #2BA88A
split-complementary
#4B2BA8 #A88A2B #4AA82B
monochromatic
#1F1247 #351F77 #4B2BA8 #6642CF #8D72DB

Accessibility & contrast

On white

9.50
#4B2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA8
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA8#FFFFFF#000000##FFFFFF
##4B2BA81.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#234D67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ba8;
/* rgb */ color: rgb(75, 43, 168);
/* oklch */ color: oklch(41.3% 0.186 286.9);
Tailwind
colors: {
  custom: {
    50: '#8768c3',
    500: '#4b2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba8;
$custom-light: #8768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba8",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 255.36,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.18592,
    "h": 286.9
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#4B2BA8
secondary
#ACC26C
accent
#E245BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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