#4A2B89#4A2B89

#4A2B89 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.148 H 293.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4A2B89
RGBrgb(74, 43, 137)
HSLhsl(260, 52%, 35%)
HSVhsv(260, 69%, 54%)
CMYKcmyk(46%, 68.6%, 0%, 46.3%)
CIE-LABlab(26.70, 36.88, -47.51)
CIE-LCHlch(26.70, 60.14, 307.82°)
OKLaboklab(38.42% 0.0586 -0.1359)
OKLCHoklch(38.42% 0.148 293.3)
XYZxyz(8.2020, 4.9895, 24.1930)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B89 #6A892B
analogous
#2B3B89 #4A2B89 #792B89
triadic
#4A2B89 #894A2B #2B894A
tetradic
#4A2B89 #892B3B #6A892B #2B8979
square
#4A2B89 #892B3B #6A892B #2B8979
split-complementary
#4A2B89 #89792B #3B892B
monochromatic
#180E2C #311C5A #4A2B89 #633AB8 #8561CD

Accessibility & contrast

On white

10.51
#4A2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2B89
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B89#FFFFFF#000000##FFFFFF
##4A2B891.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#384256
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2b89;
/* rgb */ color: rgb(74, 43, 137);
/* oklch */ color: oklch(38.4% 0.148 293.3);
Tailwind
colors: {
  custom: {
    50: '#8266ac',
    500: '#4a2b89',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b89;
$custom-light: #8266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b89",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 259.787,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.14799,
    "h": 293.3
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#4A2B89
secondary
#97B35C
accent
#DC4CAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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