#4A2DB1#4A2DB1

#4A2DB1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.195 H 284.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB1
RGBrgb(74, 45, 177)
HSLhsl(253, 59%, 44%)
HSVhsv(253, 75%, 69%)
CMYKcmyk(58.2%, 74.6%, 0%, 30.6%)
CIE-LABlab(30.66, 47.59, -65.41)
CIE-LCHlch(30.66, 80.89, 306.04°)
OKLaboklab(42.33% 0.0487 -0.1884)
OKLCHoklch(42.33% 0.195 284.5)
XYZxyz(11.6958, 6.5062, 42.2260)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB1 #94B12D
analogous
#2D52B1 #4A2DB1 #8C2DB1
triadic
#4A2DB1 #B14A2D #2DB14A
tetradic
#4A2DB1 #B12D52 #94B12D #2DB18C
square
#4A2DB1 #B12D52 #94B12D #2DB18C
split-complementary
#4A2DB1 #B18C2D #52B12D
monochromatic
#21144F #362180 #4A2DB1 #684AD1 #917BDD

Accessibility & contrast

On white

9.12
#4A2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB1
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB1#FFFFFF#000000##FFFFFF
##4A2DB11.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#10526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2db1;
/* rgb */ color: rgb(74, 45, 177);
/* oklch */ color: oklch(42.3% 0.195 284.5);
Tailwind
colors: {
  custom: {
    50: '#8869c9',
    500: '#4a2db1',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db1;
$custom-light: #8869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db1",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 253.182,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.1946,
    "h": 284.5
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#4A2DB1
secondary
#B4C674
accent
#E345C0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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