#4B2CA4#4B2CA4

#4B2CA4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.180 H 287.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA4
RGBrgb(75, 44, 164)
HSLhsl(256, 58%, 41%)
HSVhsv(256, 73%, 64%)
CMYKcmyk(54.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(29.35, 44.43, -59.73)
CIE-LCHlch(29.35, 74.44, 306.64°)
OKLaboklab(41.06% 0.054 -0.1718)
OKLCHoklch(41.06% 0.18 287.5)
XYZxyz(10.5012, 5.9770, 35.7151)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA4 #85A42C
analogous
#2C49A4 #4B2CA4 #872CA4
triadic
#4B2CA4 #A44B2C #2CA44B
tetradic
#4B2CA4 #A42C49 #85A42C #2CA487
square
#4B2CA4 #A42C49 #85A42C #2CA487
split-complementary
#4B2CA4 #A4872C #49A42C
monochromatic
#1F1243 #351F74 #4B2CA4 #6541CC #8C71D9

Accessibility & contrast

On white

9.56
#4B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA4
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA4#FFFFFF#000000##FFFFFF
##4B2CA41.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#274C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ca4;
/* rgb */ color: rgb(75, 44, 164);
/* oklch */ color: oklch(41.1% 0.180 287.5);
Tailwind
colors: {
  custom: {
    50: '#8768c0',
    500: '#4b2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca4;
$custom-light: #8768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca4",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 255.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.18005,
    "h": 287.5
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#4B2CA4
secondary
#AAC06B
accent
#E147B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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