#4A2B91#4A2B91

#4A2B91 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.158 H 291.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4A2B91
RGBrgb(74, 43, 145)
HSLhsl(258, 54%, 37%)
HSVhsv(258, 70%, 57%)
CMYKcmyk(49%, 70.3%, 0%, 43.1%)
CIE-LABlab(27.37, 39.22, -51.38)
CIE-LCHlch(27.37, 64.63, 307.36°)
OKLaboklab(39.11% 0.0573 -0.1472)
OKLCHoklch(39.11% 0.158 291.3)
XYZxyz(8.7973, 5.2276, 27.3281)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B91 #72912B
analogous
#2B3F91 #4A2B91 #7D2B91
triadic
#4A2B91 #914A2B #2B914A
tetradic
#4A2B91 #912B3F #72912B #2B917D
square
#4A2B91 #912B3F #72912B #2B917D
split-complementary
#4A2B91 #917D2B #3F912B
monochromatic
#1A0F33 #321D62 #4A2B91 #6239C0 #8665D1

Accessibility & contrast

On white

10.27
#4A2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B91
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B91#FFFFFF#000000##FFFFFF
##4A2B911.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#33455A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2b91;
/* rgb */ color: rgb(74, 43, 145);
/* oklch */ color: oklch(39.1% 0.158 291.3);
Tailwind
colors: {
  custom: {
    50: '#8367b2',
    500: '#4a2b91',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b91;
$custom-light: #8367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b91",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 258.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39108,
    "c": 0.15801,
    "h": 291.3
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#4A2B91
secondary
#9DB860
accent
#DE4AB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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