#4B2CAF#4B2CAF

#4B2CAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.193 H 285.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4B2CAF
RGBrgb(75, 44, 175)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 69%)
CMYKcmyk(57.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(30.38, 47.66, -64.66)
CIE-LCHlch(30.38, 80.33, 306.39°)
OKLaboklab(42.1% 0.0514 -0.1862)
OKLCHoklch(42.1% 0.193 285.4)
XYZxyz(11.5379, 6.3917, 41.1749)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CAF #90AF2C
analogous
#2C4FAF #4B2CAF #8C2CAF
triadic
#4B2CAF #AF4B2C #2CAF4B
tetradic
#4B2CAF #AF2C4F #90AF2C #2CAF8C
square
#4B2CAF #AF2C4F #90AF2C #2CAF8C
split-complementary
#4B2CAF #AF8C2C #4FAF2C
monochromatic
#21134D #36207E #4B2CAF #6847D1 #9078DD

Accessibility & contrast

On white

9.22
#4B2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CAF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CAF#FFFFFF#000000##FFFFFF
##4B2CAF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#19506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2caf;
/* rgb */ color: rgb(75, 44, 175);
/* oklch */ color: oklch(42.1% 0.193 285.4);
Tailwind
colors: {
  custom: {
    50: '#8969c8',
    500: '#4b2caf',
    950: '#000000',
  },
}
SCSS
$custom: #4b2caf;
$custom-light: #8969c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2caf",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 254.198,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.19315,
    "h": 285.4
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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