#4B2BB3#4B2BB3

#4B2BB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.199 H 284.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4B2BB3
RGBrgb(75, 43, 179)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 76%, 70%)
CMYKcmyk(58.1%, 76%, 0%, 29.8%)
CIE-LABlab(30.59, 49.33, -66.71)
CIE-LCHlch(30.59, 82.97, 306.48°)
OKLaboklab(42.36% 0.0511 -0.1922)
OKLCHoklch(42.36% 0.199 284.9)
XYZxyz(11.8997, 6.4776, 43.2623)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BB3 #93B32B
analogous
#2B4FB3 #4B2BB3 #8F2BB3
triadic
#4B2BB3 #B34B2B #2BB34B
tetradic
#4B2BB3 #B32B4F #93B32B #2BB38F
square
#4B2BB3 #B32B4F #93B32B #2BB38F
split-complementary
#4B2BB3 #B38F2B #4FB32B
monochromatic
#221350 #361F82 #4B2BB3 #6948D3 #9179DF

Accessibility & contrast

On white

9.15
#4B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2BB3
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BB3#FFFFFF#000000##FFFFFF
##4B2BB31.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#12526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2bb3;
/* rgb */ color: rgb(75, 43, 179);
/* oklch */ color: oklch(42.4% 0.199 284.9);
Tailwind
colors: {
  custom: {
    50: '#8968cb',
    500: '#4b2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bb3;
$custom-light: #8968cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bb3",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 254.118,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.19884,
    "h": 284.9
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#4B2BB3
secondary
#B3C773
accent
#E443BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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