#4A2E97#4A2E97

#4A2E97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.162 H 289.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4A2E97
RGBrgb(74, 46, 151)
HSLhsl(256, 53%, 39%)
HSVhsv(256, 70%, 59%)
CMYKcmyk(51%, 69.5%, 0%, 40.8%)
CIE-LABlab(28.50, 39.31, -53.23)
CIE-LCHlch(28.50, 66.18, 306.45°)
OKLaboklab(40.07% 0.0533 -0.1527)
OKLCHoklch(40.07% 0.162 289.2)
XYZxyz(9.3853, 5.6438, 29.8670)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E97 #7B972E
analogous
#2E4697 #4A2E97 #7E2E97
triadic
#4A2E97 #974A2E #2E974A
tetradic
#4A2E97 #972E46 #7B972E #2E977E
square
#4A2E97 #972E46 #7B972E #2E977E
split-complementary
#4A2E97 #977E2E #46972E
monochromatic
#1C1139 #332068 #4A2E97 #623EC4 #886DD2

Accessibility & contrast

On white

9.86
#4A2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4A2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E97
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E97#FFFFFF#000000##FFFFFF
##4A2E971.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#2F495F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a2e97;
/* rgb */ color: rgb(74, 46, 151);
/* oklch */ color: oklch(40.1% 0.162 289.2);
Tailwind
colors: {
  custom: {
    50: '#8469b6',
    500: '#4a2e97',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e97;
$custom-light: #8469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e97",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 256,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.16175,
    "h": 289.2
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#4A2E97
secondary
#A4BA67
accent
#DD4BB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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