#4A2BCC#4A2BCC

#4A2BCC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.228 H 280.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4A2BCC
RGBrgb(74, 43, 204)
HSLhsl(252, 65%, 48%)
HSVhsv(252, 79%, 80%)
CMYKcmyk(63.7%, 78.9%, 0%, 20%)
CIE-LABlab(33.01, 56.43, -77.44)
CIE-LCHlch(33.01, 95.82, 306.08°)
OKLaboklab(44.78% 0.0427 -0.2235)
OKLCHoklch(44.78% 0.228 280.8)
XYZxyz(14.5836, 7.5421, 57.8023)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BCC #ADCC2B
analogous
#2B5CCC #4A2BCC #9A2BCC
triadic
#4A2BCC #CC4A2B #2BCC4A
tetradic
#4A2BCC #CC2B5C #ADCC2B #2BCC9A
square
#4A2BCC #CC2B5C #ADCC2B #2BCC9A
split-complementary
#4A2BCC #CC9A2B #5CCC2B
monochromatic
#251667 #382099 #4A2BCC #7258DC #9D8BE7

Accessibility & contrast

On white

8.37
#4A2BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A2BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BCC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BCC#FFFFFF#000000##FFFFFF
##4A2BCC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#005C7C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a2bcc;
/* rgb */ color: rgb(74, 43, 204);
/* oklch */ color: oklch(44.8% 0.228 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d6add',
    500: '#4a2bcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bcc;
$custom-light: #8d6add;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bcc",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 251.553,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.22754,
    "h": 280.8
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#4A2BCC
secondary
#C1D082
accent
#E840C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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