#4B2CA1#4B2CA1

#4B2CA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.176 H 288.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA1
RGBrgb(75, 44, 161)
HSLhsl(256, 57%, 40%)
HSVhsv(256, 73%, 63%)
CMYKcmyk(53.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(29.08, 43.55, -58.36)
CIE-LCHlch(29.08, 72.82, 306.73°)
OKLaboklab(40.78% 0.0547 -0.1677)
OKLCHoklch(40.78% 0.176 288.1)
XYZxyz(10.2335, 5.8699, 34.3051)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA1 #82A12C
analogous
#2C48A1 #4B2CA1 #852CA1
triadic
#4B2CA1 #A14B2C #2CA14B
tetradic
#4B2CA1 #A12C48 #82A12C #2CA185
square
#4B2CA1 #A12C48 #82A12C #2CA185
split-complementary
#4B2CA1 #A1852C #48A12C
monochromatic
#1E1241 #351F71 #4B2CA1 #6440CB #8B70D8

Accessibility & contrast

On white

9.66
#4B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA1
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA1#FFFFFF#000000##FFFFFF
##4B2CA11.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#2A4B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ca1;
/* rgb */ color: rgb(75, 44, 161);
/* oklch */ color: oklch(40.8% 0.176 288.1);
Tailwind
colors: {
  custom: {
    50: '#8668be',
    500: '#4b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca1;
$custom-light: #8668be;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca1",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 255.897,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.17642,
    "h": 288.1
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#4B2CA1
secondary
#A8BF6A
accent
#E047B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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