#4A2ABD#4A2ABD

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

Color values

HEX#4A2ABD
RGBrgb(74, 42, 189)
HSLhsl(253, 64%, 45%)
HSVhsv(253, 78%, 74%)
CMYKcmyk(60.8%, 77.8%, 0%, 25.9%)
CIE-LABlab(31.31, 52.58, -71.45)
CIE-LCHlch(31.31, 88.71, 306.35°)
OKLaboklab(43.14% 0.0476 -0.206)
OKLCHoklch(43.14% 0.211 283)
XYZxyz(12.8345, 6.7850, 48.7676)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2ABD #9DBD2A
analogous
#2A54BD #4A2ABD #932ABD
triadic
#4A2ABD #BD4A2A #2ABD4A
tetradic
#4A2ABD #BD2A54 #9DBD2A #2ABD93
square
#4A2ABD #BD2A54 #9DBD2A #2ABD93
split-complementary
#4A2ABD #BD932A #54BD2A
monochromatic
#231459 #361F8B #4A2ABD #6B4DD7 #957FE3

Accessibility & contrast

On white

8.91
#4A2ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2ABD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2ABD#FFFFFF#000000##FFFFFF
##4A2ABD1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2abd;
/* rgb */ color: rgb(74, 42, 189);
/* oklch */ color: oklch(43.1% 0.211 283.0);
Tailwind
colors: {
  custom: {
    50: '#8b68d2',
    500: '#4a2abd',
    950: '#000000',
  },
}
SCSS
$custom: #4a2abd;
$custom-light: #8b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2abd",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 253.061,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.21144,
    "h": 283
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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