#4B2DB1#4B2DB1

#4B2DB1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.194 H 285.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB1
RGBrgb(75, 45, 177)
HSLhsl(254, 59%, 44%)
HSVhsv(254, 75%, 69%)
CMYKcmyk(57.6%, 74.6%, 0%, 30.6%)
CIE-LABlab(30.75, 47.73, -65.25)
CIE-LCHlch(30.75, 80.84, 306.19°)
OKLaboklab(42.42% 0.0502 -0.1879)
OKLCHoklch(42.42% 0.194 285)
XYZxyz(11.7734, 6.5462, 42.2296)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB1 #93B12D
analogous
#2D51B1 #4B2DB1 #8D2DB1
triadic
#4B2DB1 #B14B2D #2DB14B
tetradic
#4B2DB1 #B12D51 #93B12D #2DB18D
square
#4B2DB1 #B12D51 #93B12D #2DB18D
split-complementary
#4B2DB1 #B18D2D #51B12D
monochromatic
#22144F #362180 #4B2DB1 #694AD1 #917BDD

Accessibility & contrast

On white

9.09
#4B2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4B2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB1#FFFFFF#000000##FFFFFF
##4B2DB11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#15526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2db1;
/* rgb */ color: rgb(75, 45, 177);
/* oklch */ color: oklch(42.4% 0.194 285.0);
Tailwind
colors: {
  custom: {
    50: '#8969c9',
    500: '#4b2db1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db1;
$custom-light: #8969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db1",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 253.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.19449,
    "h": 285
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#4B2DB1
secondary
#B3C674
accent
#E345BF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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