#4A2B92#4A2B92

#4A2B92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.159 H 291.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4A2B92
RGBrgb(74, 43, 146)
HSLhsl(258, 54%, 37%)
HSVhsv(258, 71%, 57%)
CMYKcmyk(49.3%, 70.5%, 0%, 42.7%)
CIE-LABlab(27.46, 39.51, -51.85)
CIE-LCHlch(27.46, 65.19, 307.31°)
OKLaboklab(39.2% 0.0571 -0.1487)
OKLCHoklch(39.2% 0.159 291)
XYZxyz(8.8748, 5.2586, 27.7360)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B92 #73922B
analogous
#2B4092 #4A2B92 #7D2B92
triadic
#4A2B92 #924A2B #2B924A
tetradic
#4A2B92 #922B40 #73922B #2B927D
square
#4A2B92 #922B40 #73922B #2B927D
split-complementary
#4A2B92 #927D2B #40922B
monochromatic
#1A0F33 #321D63 #4A2B92 #6239C1 #8666D2

Accessibility & contrast

On white

10.23
#4A2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2B92
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B92#FFFFFF#000000##FFFFFF
##4A2B921.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#33455B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2b92;
/* rgb */ color: rgb(74, 43, 146);
/* oklch */ color: oklch(39.2% 0.159 291.0);
Tailwind
colors: {
  custom: {
    50: '#8467b3',
    500: '#4a2b92',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b92;
$custom-light: #8467b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b92",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 258.058,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.15926,
    "h": 291
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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