#4A2BBC#4A2BBC

#4A2BBC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.209 H 283.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4A2BBC
RGBrgb(74, 43, 188)
HSLhsl(253, 63%, 45%)
HSVhsv(253, 77%, 74%)
CMYKcmyk(60.6%, 77.1%, 0%, 26.3%)
CIE-LABlab(31.38, 51.82, -70.75)
CIE-LCHlch(31.38, 87.69, 306.22°)
OKLaboklab(43.16% 0.0472 -0.204)
OKLCHoklch(43.16% 0.209 283)
XYZxyz(12.7622, 6.8136, 48.2098)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BBC #9DBC2B
analogous
#2B54BC #4A2BBC #932BBC
triadic
#4A2BBC #BC4A2B #2BBC4A
tetradic
#4A2BBC #BC2B54 #9DBC2B #2BBC93
square
#4A2BBC #BC2B54 #9DBC2B #2BBC93
split-complementary
#4A2BBC #BC932B #54BC2B
monochromatic
#231458 #36208A #4A2BBC #6B4ED6 #9580E2

Accessibility & contrast

On white

8.89
#4A2BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4A2BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BBC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BBC#FFFFFF#000000##FFFFFF
##4A2BBC1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2bbc;
/* rgb */ color: rgb(74, 43, 188);
/* oklch */ color: oklch(43.2% 0.209 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a69d1',
    500: '#4a2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bbc;
$custom-light: #8a69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bbc",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 252.828,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.20938,
    "h": 283
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#4A2BBC
secondary
#B9CB78
accent
#E642C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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