#4A2DB0#4A2DB0

#4A2DB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.193 H 284.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB0
RGBrgb(74, 45, 176)
HSLhsl(253, 59%, 43%)
HSVhsv(253, 74%, 69%)
CMYKcmyk(58%, 74.4%, 0%, 31%)
CIE-LABlab(30.56, 47.30, -64.97)
CIE-LCHlch(30.56, 80.36, 306.06°)
OKLaboklab(42.23% 0.049 -0.1871)
OKLCHoklch(42.23% 0.193 284.7)
XYZxyz(11.5965, 6.4665, 41.7030)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB0 #93B02D
analogous
#2D52B0 #4A2DB0 #8B2DB0
triadic
#4A2DB0 #B04A2D #2DB04A
tetradic
#4A2DB0 #B02D52 #93B02D #2DB08B
square
#4A2DB0 #B02D52 #93B02D #2DB08B
split-complementary
#4A2DB0 #B08B2D #52B02D
monochromatic
#21144F #36217F #4A2DB0 #674AD1 #907ADD

Accessibility & contrast

On white

9.16
#4A2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB0
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB0#FFFFFF#000000##FFFFFF
##4A2DB01.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#13516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2db0;
/* rgb */ color: rgb(74, 45, 176);
/* oklch */ color: oklch(42.2% 0.193 284.7);
Tailwind
colors: {
  custom: {
    50: '#8869c9',
    500: '#4a2db0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db0;
$custom-light: #8869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db0",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 253.282,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.19342,
    "h": 284.7
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#4A2DB0
secondary
#B3C573
accent
#E245C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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