#4B2CB0#4B2CB0

#4B2CB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.194 H 285.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2CB0
RGBrgb(75, 44, 176)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 69%)
CMYKcmyk(57.4%, 75%, 0%, 31%)
CIE-LABlab(30.48, 47.95, -65.10)
CIE-LCHlch(30.48, 80.86, 306.37°)
OKLaboklab(42.19% 0.0512 -0.1875)
OKLCHoklch(42.19% 0.194 285.3)
XYZxyz(11.6364, 6.4311, 41.6940)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CB0 #91B02C
analogous
#2C4FB0 #4B2CB0 #8D2CB0
triadic
#4B2CB0 #B04B2C #2CB04B
tetradic
#4B2CB0 #B02C4F #91B02C #2CB08D
square
#4B2CB0 #B02C4F #91B02C #2CB08D
split-complementary
#4B2CB0 #B08D2C #4FB02C
monochromatic
#21144E #36207F #4B2CB0 #6848D1 #9179DD

Accessibility & contrast

On white

9.18
#4B2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2CB0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CB0#FFFFFF#000000##FFFFFF
##4B2CB01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#17516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2cb0;
/* rgb */ color: rgb(75, 44, 176);
/* oklch */ color: oklch(42.2% 0.194 285.3);
Tailwind
colors: {
  custom: {
    50: '#8969c9',
    500: '#4b2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cb0;
$custom-light: #8969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cb0",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 254.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.19434,
    "h": 285.3
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#4B2CB0
secondary
#B2C672
accent
#E345BE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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