#4B2CB1#4B2CB1

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

Color values

HEX#4B2CB1
RGBrgb(75, 44, 177)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 69%)
CMYKcmyk(57.6%, 75.1%, 0%, 30.6%)
CIE-LABlab(30.57, 48.24, -65.54)
CIE-LCHlch(30.57, 81.38, 306.35°)
OKLaboklab(42.29% 0.0509 -0.1888)
OKLCHoklch(42.29% 0.196 285.1)
XYZxyz(11.7357, 6.4708, 42.2170)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CB1 #92B12C
analogous
#2C4FB1 #4B2CB1 #8D2CB1
triadic
#4B2CB1 #B14B2C #2CB14B
tetradic
#4B2CB1 #B12C4F #92B12C #2CB18D
square
#4B2CB1 #B12C4F #92B12C #2CB18D
split-complementary
#4B2CB1 #B18D2C #4FB12C
monochromatic
#21144F #362080 #4B2CB1 #6949D2 #917ADE

Accessibility & contrast

On white

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

On black

2.29
#4B2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B2CB1#FFFFFF#000000##FFFFFF
##4B2CB11.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#16516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2cb1;
/* rgb */ color: rgb(75, 44, 177);
/* oklch */ color: oklch(42.3% 0.196 285.1);
Tailwind
colors: {
  custom: {
    50: '#8969c9',
    500: '#4b2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cb1;
$custom-light: #8969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cb1",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 253.985,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.19551,
    "h": 285.1
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#4B2CB1
secondary
#B3C673
accent
#E344BE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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