#4A2B83#4A2B83

#4A2B83 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.140 H 295.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4A2B83
RGBrgb(74, 43, 131)
HSLhsl(261, 51%, 34%)
HSVhsv(261, 67%, 51%)
CMYKcmyk(43.5%, 67.2%, 0%, 48.6%)
CIE-LABlab(26.22, 35.14, -44.54)
CIE-LCHlch(26.22, 56.73, 308.27°)
OKLaboklab(37.92% 0.0594 -0.1272)
OKLCHoklch(37.92% 0.14 295)
XYZxyz(7.7836, 4.8221, 21.9890)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B83 #64832B
analogous
#2B3883 #4A2B83 #762B83
triadic
#4A2B83 #834A2B #2B834A
tetradic
#4A2B83 #832B38 #64832B #2B8376
square
#4A2B83 #832B38 #64832B #2B8376
split-complementary
#4A2B83 #83762B #38832B
monochromatic
#160D27 #301C55 #4A2B83 #643AB1 #845ECA

Accessibility & contrast

On white

10.69
#4A2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4A2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B83
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B83#FFFFFF#000000##FFFFFF
##4A2B831.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#3B4053
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2b83;
/* rgb */ color: rgb(74, 43, 131);
/* oklch */ color: oklch(37.9% 0.140 295.0);
Tailwind
colors: {
  custom: {
    50: '#8166a8',
    500: '#4a2b83',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b83;
$custom-light: #8166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b83",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 261.136,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.14036,
    "h": 295
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#4A2B83
secondary
#92B05A
accent
#DA4EA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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