#4B2ACA#4B2ACA

#4B2ACA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.226 H 281.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4B2ACA
RGBrgb(75, 42, 202)
HSLhsl(252, 66%, 48%)
HSVhsv(252, 79%, 79%)
CMYKcmyk(62.9%, 79.2%, 0%, 20.8%)
CIE-LABlab(32.73, 56.41, -76.73)
CIE-LCHlch(32.73, 95.23, 306.32°)
OKLaboklab(44.55% 0.0453 -0.2214)
OKLCHoklch(44.55% 0.226 281.6)
XYZxyz(14.3869, 7.4150, 56.5388)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2ACA #A9CA2A
analogous
#2A59CA #4B2ACA #9B2ACA
triadic
#4B2ACA #CA4B2A #2ACA4B
tetradic
#4B2ACA #CA2A59 #A9CA2A #2ACA9B
square
#4B2ACA #CA2A59 #A9CA2A #2ACA9B
split-complementary
#4B2ACA #CA9B2A #59CA2A
monochromatic
#251565 #381F97 #4B2ACA #7155DC #9C88E6

Accessibility & contrast

On white

8.46
#4B2ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B2ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2ACA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2ACA#FFFFFF#000000##FFFFFF
##4B2ACA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b2aca;
/* rgb */ color: rgb(75, 42, 202);
/* oklch */ color: oklch(44.5% 0.226 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d69dc',
    500: '#4b2aca',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aca;
$custom-light: #8d69dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aca",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 252.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.22597,
    "h": 281.6
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#4B2ACA
secondary
#BFD080
accent
#E93FC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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