#4A2E96#4A2E96

#4A2E96 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.161 H 289.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4A2E96
RGBrgb(74, 46, 150)
HSLhsl(256, 53%, 38%)
HSVhsv(256, 69%, 59%)
CMYKcmyk(50.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(28.41, 39.01, -52.76)
CIE-LCHlch(28.41, 65.62, 306.48°)
OKLaboklab(39.98% 0.0535 -0.1513)
OKLCHoklch(39.98% 0.161 289.5)
XYZxyz(9.3045, 5.6115, 29.4411)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E96 #7A962E
analogous
#2E4696 #4A2E96 #7E2E96
triadic
#4A2E96 #964A2E #2E964A
tetradic
#4A2E96 #962E46 #7A962E #2E967E
square
#4A2E96 #962E46 #7A962E #2E967E
split-complementary
#4A2E96 #967E2E #46962E
monochromatic
#1C1138 #332067 #4A2E96 #623EC4 #886CD2

Accessibility & contrast

On white

9.89
#4A2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4A2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E96
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E96#FFFFFF#000000##FFFFFF
##4A2E961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#30485E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a2e96;
/* rgb */ color: rgb(74, 46, 150);
/* oklch */ color: oklch(40.0% 0.161 289.5);
Tailwind
colors: {
  custom: {
    50: '#8469b6',
    500: '#4a2e96',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e96;
$custom-light: #8469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e96",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 256.154,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.1605,
    "h": 289.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#4A2E96
secondary
#A3B967
accent
#DC4BB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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