#4A2B8D#4A2B8D

#4A2B8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.153 H 292.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4A2B8D
RGBrgb(74, 43, 141)
HSLhsl(259, 53%, 36%)
HSVhsv(259, 70%, 55%)
CMYKcmyk(47.5%, 69.5%, 0%, 44.7%)
CIE-LABlab(27.04, 38.05, -49.45)
CIE-LCHlch(27.04, 62.39, 307.57°)
OKLaboklab(38.76% 0.058 -0.1416)
OKLCHoklch(38.76% 0.153 292.3)
XYZxyz(8.4943, 5.1064, 25.7322)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B8D #6E8D2B
analogous
#2B3D8D #4A2B8D #7B2B8D
triadic
#4A2B8D #8D4A2B #2B8D4A
tetradic
#4A2B8D #8D2B3D #6E8D2B #2B8D7B
square
#4A2B8D #8D2B3D #6E8D2B #2B8D7B
split-complementary
#4A2B8D #8D7B2B #3D8D2B
monochromatic
#190E2F #311D5E #4A2B8D #6339BC #8563CF

Accessibility & contrast

On white

10.39
#4A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B8D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B8D#FFFFFF#000000##FFFFFF
##4A2B8D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#364358
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2b8d;
/* rgb */ color: rgb(74, 43, 141);
/* oklch */ color: oklch(38.8% 0.153 292.3);
Tailwind
colors: {
  custom: {
    50: '#8367af',
    500: '#4a2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b8d;
$custom-light: #8367af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b8d",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 258.98,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.15303,
    "h": 292.3
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#4A2B8D
secondary
#9AB65E
accent
#DD4BAF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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