#4B2DB0#4B2DB0

#4B2DB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.193 H 285.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB0
RGBrgb(75, 45, 176)
HSLhsl(254, 59%, 43%)
HSVhsv(254, 74%, 69%)
CMYKcmyk(57.4%, 74.4%, 0%, 31%)
CIE-LABlab(30.66, 47.44, -64.81)
CIE-LCHlch(30.66, 80.31, 306.20°)
OKLaboklab(42.32% 0.0504 -0.1866)
OKLCHoklch(42.32% 0.193 285.1)
XYZxyz(11.6741, 6.5065, 41.7066)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB0 #92B02D
analogous
#2D51B0 #4B2DB0 #8C2DB0
triadic
#4B2DB0 #B04B2D #2DB04B
tetradic
#4B2DB0 #B02D51 #92B02D #2DB08C
square
#4B2DB0 #B02D51 #92B02D #2DB08C
split-complementary
#4B2DB0 #B08C2D #51B02D
monochromatic
#21144F #36217F #4B2DB0 #694AD1 #917ADD

Accessibility & contrast

On white

9.12
#4B2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4B2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB0
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB0#FFFFFF#000000##FFFFFF
##4B2DB01.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#17516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2db0;
/* rgb */ color: rgb(75, 45, 176);
/* oklch */ color: oklch(42.3% 0.193 285.1);
Tailwind
colors: {
  custom: {
    50: '#8969c9',
    500: '#4b2db0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db0;
$custom-light: #8969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db0",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 253.74,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.1933,
    "h": 285.1
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#4B2DB0
secondary
#B3C573
accent
#E245BE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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