#4B2CA6#4B2CA6

#4B2CA6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.182 H 287.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA6
RGBrgb(75, 44, 166)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 73%, 65%)
CMYKcmyk(54.8%, 73.5%, 0%, 34.9%)
CIE-LABlab(29.54, 45.02, -60.64)
CIE-LCHlch(29.54, 75.52, 306.59°)
OKLaboklab(41.25% 0.0536 -0.1744)
OKLCHoklch(41.25% 0.182 287.1)
XYZxyz(10.6832, 6.0498, 36.6738)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA6 #87A62C
analogous
#2C4AA6 #4B2CA6 #882CA6
triadic
#4B2CA6 #A64B2C #2CA64B
tetradic
#4B2CA6 #A62C4A #87A62C #2CA688
square
#4B2CA6 #A62C4A #87A62C #2CA688
split-complementary
#4B2CA6 #A6882C #4AA62C
monochromatic
#1F1245 #351F76 #4B2CA6 #6542CD #8D73DA

Accessibility & contrast

On white

9.50
#4B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA6
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA6#FFFFFF#000000##FFFFFF
##4B2CA61.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#254D66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ca6;
/* rgb */ color: rgb(75, 44, 166);
/* oklch */ color: oklch(41.2% 0.182 287.1);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4b2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca6;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca6",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 255.246,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.18245,
    "h": 287.1
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#4B2CA6
secondary
#ACC16D
accent
#E146BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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