#4A2E89#4A2E89

#4A2E89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.144 H 292.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2E89
RGBrgb(74, 46, 137)
HSLhsl(258, 50%, 36%)
HSVhsv(258, 66%, 54%)
CMYKcmyk(46%, 66.4%, 0%, 46.3%)
CIE-LABlab(27.34, 35.15, -46.47)
CIE-LCHlch(27.34, 58.27, 307.10°)
OKLaboklab(38.88% 0.0553 -0.1328)
OKLCHoklch(38.88% 0.144 292.6)
XYZxyz(8.3151, 5.2157, 24.2307)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E89 #6D892E
analogous
#2E3F89 #4A2E89 #772E89
triadic
#4A2E89 #894A2E #2E894A
tetradic
#4A2E89 #892E3F #6D892E #2E8977
square
#4A2E89 #892E3F #6D892E #2E8977
split-complementary
#4A2E89 #89772E #3F892E
monochromatic
#190F2D #311F5B #4A2E89 #633DB7 #8566CC

Accessibility & contrast

On white

10.28
#4A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E89
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E89#FFFFFF#000000##FFFFFF
##4A2E891.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#384457
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2e89;
/* rgb */ color: rgb(74, 46, 137);
/* oklch */ color: oklch(38.9% 0.144 292.6);
Tailwind
colors: {
  custom: {
    50: '#8268ac',
    500: '#4a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e89;
$custom-light: #8268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e89",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 258.462,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.14389,
    "h": 292.6
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#4A2E89
secondary
#99B260
accent
#D94FAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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