#4A2B95#4A2B95

#4A2B95 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.163 H 290.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4A2B95
RGBrgb(74, 43, 149)
HSLhsl(258, 55%, 38%)
HSVhsv(258, 71%, 58%)
CMYKcmyk(50.3%, 71.1%, 0%, 41.6%)
CIE-LABlab(27.72, 40.39, -53.28)
CIE-LCHlch(27.72, 66.86, 307.17°)
OKLaboklab(39.46% 0.0566 -0.1528)
OKLCHoklch(39.46% 0.163 290.3)
XYZxyz(9.1112, 5.3532, 28.9811)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B95 #76952B
analogous
#2B4195 #4A2B95 #7F2B95
triadic
#4A2B95 #954A2B #2B954A
tetradic
#4A2B95 #952B41 #76952B #2B957F
square
#4A2B95 #952B41 #76952B #2B957F
split-complementary
#4A2B95 #957F2B #41952B
monochromatic
#1B1036 #321D66 #4A2B95 #6239C4 #8767D3

Accessibility & contrast

On white

10.14
#4A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B95
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B95#FFFFFF#000000##FFFFFF
##4A2B951.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#31465D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2b95;
/* rgb */ color: rgb(74, 43, 149);
/* oklch */ color: oklch(39.5% 0.163 290.3);
Tailwind
colors: {
  custom: {
    50: '#8467b5',
    500: '#4a2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b95;
$custom-light: #8467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b95",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 257.547,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.16297,
    "h": 290.3
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#4A2B95
secondary
#A0BA62
accent
#DF49B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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