#4A2AB9#4A2AB9

#4A2AB9 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.207 H 283.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4A2AB9
RGBrgb(74, 42, 185)
HSLhsl(253, 63%, 45%)
HSVhsv(253, 77%, 73%)
CMYKcmyk(60%, 77.3%, 0%, 27.5%)
CIE-LABlab(30.91, 51.43, -69.75)
CIE-LCHlch(30.91, 86.66, 306.41°)
OKLaboklab(42.74% 0.0487 -0.201)
OKLCHoklch(42.74% 0.207 283.6)
XYZxyz(12.4063, 6.6137, 46.5124)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AB9 #99B92A
analogous
#2A51B9 #4A2AB9 #922AB9
triadic
#4A2AB9 #B94A2A #2AB94A
tetradic
#4A2AB9 #B92A51 #99B92A #2AB992
square
#4A2AB9 #B92A51 #99B92A #2AB992
split-complementary
#4A2AB9 #B9922A #51B92A
monochromatic
#221355 #361F87 #4A2AB9 #6A4AD6 #937CE1

Accessibility & contrast

On white

9.04
#4A2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4A2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AB9
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AB9#FFFFFF#000000##FFFFFF
##4A2AB91.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2ab9;
/* rgb */ color: rgb(74, 42, 185);
/* oklch */ color: oklch(42.7% 0.207 283.6);
Tailwind
colors: {
  custom: {
    50: '#8a68cf',
    500: '#4a2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ab9;
$custom-light: #8a68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ab9",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 253.427,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.20686,
    "h": 283.6
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#4A2AB9
secondary
#B7CA75
accent
#E642C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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