#4B2CA2#4B2CA2

#4B2CA2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.178 H 287.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4B2CA2
RGBrgb(75, 44, 162)
HSLhsl(256, 57%, 40%)
HSVhsv(256, 73%, 64%)
CMYKcmyk(53.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(29.17, 43.84, -58.82)
CIE-LCHlch(29.17, 73.36, 306.70°)
OKLaboklab(40.88% 0.0545 -0.1691)
OKLCHoklch(40.88% 0.178 287.9)
XYZxyz(10.3220, 5.9053, 34.7714)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CA2 #83A22C
analogous
#2C48A2 #4B2CA2 #862CA2
triadic
#4B2CA2 #A24B2C #2CA24B
tetradic
#4B2CA2 #A22C48 #83A22C #2CA286
square
#4B2CA2 #A22C48 #83A22C #2CA286
split-complementary
#4B2CA2 #A2862C #48A22C
monochromatic
#1E1242 #351F72 #4B2CA2 #6540CB #8C70D8

Accessibility & contrast

On white

9.63
#4B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CA2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CA2#FFFFFF#000000##FFFFFF
##4B2CA21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#294B64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ca2;
/* rgb */ color: rgb(75, 44, 162);
/* oklch */ color: oklch(40.9% 0.178 287.9);
Tailwind
colors: {
  custom: {
    50: '#8668bf',
    500: '#4b2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ca2;
$custom-light: #8668bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ca2",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 255.763,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.17764,
    "h": 287.9
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#4B2CA2
secondary
#A9BF6A
accent
#E147B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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