#4B2BCA#4B2BCA

#4B2BCA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.225 H 281.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2BCA
RGBrgb(75, 43, 202)
HSLhsl(252, 65%, 48%)
HSVhsv(252, 79%, 79%)
CMYKcmyk(62.9%, 78.7%, 0%, 20.8%)
CIE-LABlab(32.89, 55.96, -76.47)
CIE-LCHlch(32.89, 94.76, 306.19°)
OKLaboklab(44.66% 0.0447 -0.2206)
OKLCHoklch(44.66% 0.225 281.5)
XYZxyz(14.4228, 7.4868, 56.5507)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BCA #AACA2B
analogous
#2B5BCA #4B2BCA #9A2BCA
triadic
#4B2BCA #CA4B2B #2BCA4B
tetradic
#4B2BCA #CA2B5B #AACA2B #2BCA9A
square
#4B2BCA #CA2B5B #AACA2B #2BCA9A
split-complementary
#4B2BCA #CA9A2B #5BCA2B
monochromatic
#261665 #382098 #4B2BCA #7257DB #9C89E6

Accessibility & contrast

On white

8.41
#4B2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4B2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BCA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BCA#FFFFFF#000000##FFFFFF
##4B2BCA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b2bca;
/* rgb */ color: rgb(75, 43, 202);
/* oklch */ color: oklch(44.7% 0.225 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d6adc',
    500: '#4b2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bca;
$custom-light: #8d6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bca",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 252.075,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.22514,
    "h": 281.5
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#4B2BCA
secondary
#C0D081
accent
#E840C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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