#4B2DB6#4B2DB6

#4B2DB6 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 42.9% C 0.200 H 284.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB6
RGBrgb(75, 45, 182)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 71%)
CMYKcmyk(58.8%, 75.3%, 0%, 28.6%)
CIE-LABlab(31.23, 49.20, -67.44)
CIE-LCHlch(31.23, 83.48, 306.11°)
OKLaboklab(42.9% 0.0489 -0.1943)
OKLCHoklch(42.9% 0.2 284.1)
XYZxyz(12.2809, 6.7492, 44.9025)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB6 #98B62D
analogous
#2D53B6 #4B2DB6 #902DB6
triadic
#4B2DB6 #B64B2D #2DB64B
tetradic
#4B2DB6 #B62D53 #98B62D #2DB690
square
#4B2DB6 #B62D53 #98B62D #2DB690
split-complementary
#4B2DB6 #B6902D #53B62D
monochromatic
#231554 #372185 #4B2DB6 #6A4DD3 #937EDF

Accessibility & contrast

On white

8.94
#4B2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB6
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB6#FFFFFF#000000##FFFFFF
##4B2DB61.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#095470
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2db6;
/* rgb */ color: rgb(75, 45, 182);
/* oklch */ color: oklch(42.9% 0.200 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a6acd',
    500: '#4b2db6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db6;
$custom-light: #8a6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db6",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 253.139,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.20038,
    "h": 284.1
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#4B2DB6
secondary
#B6C877
accent
#E344C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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