#4A2CBD#4A2CBD

#4A2CBD is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.210 H 282.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4A2CBD
RGBrgb(74, 44, 189)
HSLhsl(252, 62%, 46%)
HSVhsv(252, 77%, 74%)
CMYKcmyk(60.8%, 76.7%, 0%, 25.9%)
CIE-LABlab(31.65, 51.62, -70.90)
CIE-LCHlch(31.65, 87.70, 306.06°)
OKLaboklab(43.38% 0.0463 -0.2044)
OKLCHoklch(43.38% 0.21 282.8)
XYZxyz(12.9072, 6.9304, 48.7918)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CBD #9FBD2C
analogous
#2C56BD #4A2CBD #922CBD
triadic
#4A2CBD #BD4A2C #2CBD4A
tetradic
#4A2CBD #BD2C56 #9FBD2C #2CBD92
square
#4A2CBD #BD2C56 #9FBD2C #2CBD92
split-complementary
#4A2CBD #BD922C #56BD2C
monochromatic
#23155A #37208B #4A2CBD #6C50D6 #9582E2

Accessibility & contrast

On white

8.80
#4A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4A2CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CBD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CBD#FFFFFF#000000##FFFFFF
##4A2CBD1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2cbd;
/* rgb */ color: rgb(74, 44, 189);
/* oklch */ color: oklch(43.4% 0.210 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a69d2',
    500: '#4a2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cbd;
$custom-light: #8a69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cbd",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 252.414,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43376,
    "c": 0.20961,
    "h": 282.8
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#4A2CBD
secondary
#BACB7A
accent
#E542C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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