#4B2DB2#4B2DB2

#4B2DB2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.196 H 284.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB2
RGBrgb(75, 45, 178)
HSLhsl(254, 60%, 44%)
HSVhsv(254, 75%, 70%)
CMYKcmyk(57.9%, 74.7%, 0%, 30.2%)
CIE-LABlab(30.85, 48.03, -65.69)
CIE-LCHlch(30.85, 81.37, 306.17°)
OKLaboklab(42.51% 0.0499 -0.1892)
OKLCHoklch(42.51% 0.196 284.8)
XYZxyz(11.8735, 6.5863, 42.7565)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB2 #94B22D
analogous
#2D51B2 #4B2DB2 #8D2DB2
triadic
#4B2DB2 #B24B2D #2DB24B
tetradic
#4B2DB2 #B22D51 #94B22D #2DB28D
square
#4B2DB2 #B22D51 #94B22D #2DB28D
split-complementary
#4B2DB2 #B28D2D #51B22D
monochromatic
#221450 #362181 #4B2DB2 #694BD1 #927CDE

Accessibility & contrast

On white

9.06
#4B2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4B2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB2#FFFFFF#000000##FFFFFF
##4B2DB21.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#13526D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2db2;
/* rgb */ color: rgb(75, 45, 178);
/* oklch */ color: oklch(42.5% 0.196 284.8);
Tailwind
colors: {
  custom: {
    50: '#8969ca',
    500: '#4b2db2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db2;
$custom-light: #8969ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db2",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 253.534,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.19567,
    "h": 284.8
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#4B2DB2
secondary
#B4C675
accent
#E345BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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