#4B2DB3#4B2DB3

#4B2DB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.197 H 284.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB3
RGBrgb(75, 45, 179)
HSLhsl(253, 60%, 44%)
HSVhsv(253, 75%, 70%)
CMYKcmyk(58.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(30.94, 48.32, -66.13)
CIE-LCHlch(30.94, 81.90, 306.16°)
OKLaboklab(42.61% 0.0497 -0.1905)
OKLCHoklch(42.61% 0.197 284.6)
XYZxyz(11.9742, 6.6266, 43.2872)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB3 #95B32D
analogous
#2D52B3 #4B2DB3 #8E2DB3
triadic
#4B2DB3 #B34B2D #2DB34B
tetradic
#4B2DB3 #B32D52 #95B32D #2DB38E
square
#4B2DB3 #B32D52 #95B32D #2DB38E
split-complementary
#4B2DB3 #B38E2D #52B32D
monochromatic
#221451 #372182 #4B2DB3 #694BD2 #927CDE

Accessibility & contrast

On white

9.03
#4B2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB3#FFFFFF#000000##FFFFFF
##4B2DB31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#11536E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2db3;
/* rgb */ color: rgb(75, 45, 179);
/* oklch */ color: oklch(42.6% 0.197 284.6);
Tailwind
colors: {
  custom: {
    50: '#8969cb',
    500: '#4b2db3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db3;
$custom-light: #8969cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db3",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 253.433,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.19685,
    "h": 284.6
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#4B2DB3
secondary
#B4C775
accent
#E345C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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