#4A2BB0#4A2BB0

#4A2BB0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.195 H 284.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB0
RGBrgb(74, 43, 176)
HSLhsl(254, 61%, 43%)
HSVhsv(254, 76%, 69%)
CMYKcmyk(58%, 75.6%, 0%, 31%)
CIE-LABlab(30.20, 48.32, -65.56)
CIE-LCHlch(30.20, 81.44, 306.39°)
OKLaboklab(41.98% 0.0504 -0.1888)
OKLCHoklch(41.98% 0.195 284.9)
XYZxyz(11.5220, 6.3175, 41.6781)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB0 #91B02B
analogous
#2B4EB0 #4A2BB0 #8C2BB0
triadic
#4A2BB0 #B04A2B #2BB04A
tetradic
#4A2BB0 #B02B4E #91B02B #2BB08C
square
#4A2BB0 #B02B4E #91B02B #2BB08C
split-complementary
#4A2BB0 #B08C2B #4EB02B
monochromatic
#21134E #351F7F #4A2BB0 #6746D2 #8F78DE

Accessibility & contrast

On white

9.28
#4A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BB0
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB0#FFFFFF#000000##FFFFFF
##4A2BB01.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#13506C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a2bb0;
/* rgb */ color: rgb(74, 43, 176);
/* oklch */ color: oklch(42.0% 0.195 284.9);
Tailwind
colors: {
  custom: {
    50: '#8868c9',
    500: '#4a2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb0;
$custom-light: #8868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb0",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 253.985,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.19545,
    "h": 284.9
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#4A2BB0
secondary
#B2C671
accent
#E444BF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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