#4A2B8A#4A2B8A

#4A2B8A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.149 H 293.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4A2B8A
RGBrgb(74, 43, 138)
HSLhsl(260, 52%, 35%)
HSVhsv(260, 69%, 54%)
CMYKcmyk(46.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(26.79, 37.17, -48.00)
CIE-LCHlch(26.79, 60.71, 307.76°)
OKLaboklab(38.51% 0.0585 -0.1373)
OKLCHoklch(38.51% 0.149 293.1)
XYZxyz(8.2741, 5.0183, 24.5725)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B8A #6B8A2B
analogous
#2B3B8A #4A2B8A #792B8A
triadic
#4A2B8A #8A4A2B #2B8A4A
tetradic
#4A2B8A #8A2B3B #6B8A2B #2B8A79
square
#4A2B8A #8A2B3B #6B8A2B #2B8A79
split-complementary
#4A2B8A #8A792B #3B8A2B
monochromatic
#180E2D #311C5B #4A2B8A #633AB9 #8561CE

Accessibility & contrast

On white

10.48
#4A2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B8A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B8A#FFFFFF#000000##FFFFFF
##4A2B8A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#374257
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2b8a;
/* rgb */ color: rgb(74, 43, 138);
/* oklch */ color: oklch(38.5% 0.149 293.1);
Tailwind
colors: {
  custom: {
    50: '#8267ad',
    500: '#4a2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b8a;
$custom-light: #8267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b8a",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 259.579,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.14925,
    "h": 293.1
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#4A2B8A
secondary
#98B45D
accent
#DC4CAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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