#4A2B97#4A2B97

#4A2B97 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.165 H 289.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4A2B97
RGBrgb(74, 43, 151)
HSLhsl(257, 56%, 38%)
HSVhsv(257, 72%, 59%)
CMYKcmyk(51%, 71.5%, 0%, 40.8%)
CIE-LABlab(27.89, 40.98, -54.22)
CIE-LCHlch(27.89, 67.96, 307.08°)
OKLaboklab(39.64% 0.0562 -0.1556)
OKLCHoklch(39.64% 0.165 289.9)
XYZxyz(9.2722, 5.4176, 29.8293)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B97 #78972B
analogous
#2B4297 #4A2B97 #802B97
triadic
#4A2B97 #974A2B #2B974A
tetradic
#4A2B97 #972B42 #78972B #2B9780
square
#4A2B97 #972B42 #78972B #2B9780
split-complementary
#4A2B97 #97802B #42972B
monochromatic
#1B1038 #331D67 #4A2B97 #6139C7 #8768D4

Accessibility & contrast

On white

10.08
#4A2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B97
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B97#FFFFFF#000000##FFFFFF
##4A2B971.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#2F475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2b97;
/* rgb */ color: rgb(74, 43, 151);
/* oklch */ color: oklch(39.6% 0.165 289.9);
Tailwind
colors: {
  custom: {
    50: '#8467b7',
    500: '#4a2b97',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b97;
$custom-light: #8467b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b97",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 257.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.16544,
    "h": 289.9
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#4A2B97
secondary
#A2BB63
accent
#DF49B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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