#4A2ABC#4A2ABC

#4A2ABC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.210 H 283.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4A2ABC
RGBrgb(74, 42, 188)
HSLhsl(253, 63%, 45%)
HSVhsv(253, 78%, 74%)
CMYKcmyk(60.6%, 77.7%, 0%, 26.3%)
CIE-LABlab(31.21, 52.30, -71.02)
CIE-LCHlch(31.21, 88.20, 306.36°)
OKLaboklab(43.04% 0.0478 -0.2048)
OKLCHoklch(43.04% 0.21 283.1)
XYZxyz(12.7263, 6.7417, 48.1979)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2ABC #9CBC2A
analogous
#2A53BC #4A2ABC #932ABC
triadic
#4A2ABC #BC4A2A #2ABC4A
tetradic
#4A2ABC #BC2A53 #9CBC2A #2ABC93
square
#4A2ABC #BC2A53 #9CBC2A #2ABC93
split-complementary
#4A2ABC #BC932A #53BC2A
monochromatic
#231458 #361F8A #4A2ABC #6B4CD7 #947EE2

Accessibility & contrast

On white

8.94
#4A2ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4A2ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2ABC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2ABC#FFFFFF#000000##FFFFFF
##4A2ABC1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2abc;
/* rgb */ color: rgb(74, 42, 188);
/* oklch */ color: oklch(43.0% 0.210 283.1);
Tailwind
colors: {
  custom: {
    50: '#8a68d1',
    500: '#4a2abc',
    950: '#000000',
  },
}
SCSS
$custom: #4a2abc;
$custom-light: #8a68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2abc",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 253.151,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.2103,
    "h": 283.1
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#4A2ABC
secondary
#B8CB77
accent
#E741C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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