#4A2891#4A2891

#4A2891 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.162 H 291.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4A2891
RGBrgb(74, 40, 145)
HSLhsl(259, 57%, 36%)
HSVhsv(259, 72%, 57%)
CMYKcmyk(49%, 72.4%, 0%, 43.1%)
CIE-LABlab(26.78, 40.85, -52.34)
CIE-LCHlch(26.78, 66.39, 307.97°)
OKLaboklab(38.69% 0.0603 -0.1501)
OKLCHoklch(38.69% 0.162 291.9)
XYZxyz(8.6922, 5.0175, 27.2930)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2891 #6F9128
analogous
#283A91 #4A2891 #7F2891
triadic
#4A2891 #914A28 #28914A
tetradic
#4A2891 #91283A #6F9128 #28917F
square
#4A2891 #91283A #6F9128 #28917F
split-complementary
#4A2891 #917F28 #3A9128
monochromatic
#190E31 #321B61 #4A2891 #6235C1 #8560D3

Accessibility & contrast

On white

10.48
#4A2891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2891
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2891#FFFFFF#000000##FFFFFF
##4A28911.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#344359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2891;
/* rgb */ color: rgb(74, 40, 145);
/* oklch */ color: oklch(38.7% 0.162 291.9);
Tailwind
colors: {
  custom: {
    50: '#8465b2',
    500: '#4a2891',
    950: '#000000',
  },
}
SCSS
$custom: #4a2891;
$custom-light: #8465b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2891",
  "rgb": {
    "r": 74,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 259.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.16172,
    "h": 291.9
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#4A2891
secondary
#9BB95C
accent
#E048AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2891

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

Preview Lab → · Contrast checker → · Palette generator →

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