#4B2DA8#4B2DA8

#4B2DA8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.184 H 286.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4B2DA8
RGBrgb(75, 45, 168)
HSLhsl(255, 58%, 42%)
HSVhsv(255, 73%, 66%)
CMYKcmyk(55.4%, 73.2%, 0%, 34.1%)
CIE-LABlab(29.91, 45.08, -61.24)
CIE-LCHlch(29.91, 76.04, 306.36°)
OKLaboklab(41.57% 0.0523 -0.1762)
OKLCHoklch(41.57% 0.184 286.5)
XYZxyz(10.9058, 6.1992, 37.6601)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DA8 #8AA82D
analogous
#2D4DA8 #4B2DA8 #892DA8
triadic
#4B2DA8 #A84B2D #2DA84B
tetradic
#4B2DA8 #A82D4D #8AA82D #2DA889
square
#4B2DA8 #A82D4D #8AA82D #2DA889
split-complementary
#4B2DA8 #A8892D #4DA82D
monochromatic
#201347 #352078 #4B2DA8 #6645CD #8E75DA

Accessibility & contrast

On white

9.38
#4B2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2DA8
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DA8#FFFFFF#000000##FFFFFF
##4B2DA81.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#224E68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2da8;
/* rgb */ color: rgb(75, 45, 168);
/* oklch */ color: oklch(41.6% 0.184 286.5);
Tailwind
colors: {
  custom: {
    50: '#8769c3',
    500: '#4b2da8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2da8;
$custom-light: #8769c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2da8",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 254.634,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.18376,
    "h": 286.5
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#4B2DA8
secondary
#AEC26F
accent
#E147BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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