#4A2BCA#4A2BCA

#4A2BCA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.225 H 281.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4A2BCA
RGBrgb(74, 43, 202)
HSLhsl(252, 65%, 48%)
HSVhsv(252, 79%, 79%)
CMYKcmyk(63.4%, 78.7%, 0%, 20.8%)
CIE-LABlab(32.80, 55.85, -76.62)
CIE-LCHlch(32.80, 94.81, 306.09°)
OKLaboklab(44.58% 0.0433 -0.2211)
OKLCHoklch(44.58% 0.225 281.1)
XYZxyz(14.3452, 7.4468, 56.5471)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BCA #ABCA2B
analogous
#2B5BCA #4A2BCA #992BCA
triadic
#4A2BCA #CA4A2B #2BCA4A
tetradic
#4A2BCA #CA2B5B #ABCA2B #2BCA99
square
#4A2BCA #CA2B5B #ABCA2B #2BCA99
split-complementary
#4A2BCA #CA992B #5BCA2B
monochromatic
#251665 #382098 #4A2BCA #7157DB #9B89E6

Accessibility & contrast

On white

8.44
#4A2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BCA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BCA#FFFFFF#000000##FFFFFF
##4A2BCA1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2bca;
/* rgb */ color: rgb(74, 43, 202);
/* oklch */ color: oklch(44.6% 0.225 281.1);
Tailwind
colors: {
  custom: {
    50: '#8d6adc',
    500: '#4a2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bca;
$custom-light: #8d6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bca",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 251.698,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.22529,
    "h": 281.1
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#4A2BCA
secondary
#C0D081
accent
#E840C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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