#4A2E86#4A2E86

#4A2E86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.140 H 293.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4A2E86
RGBrgb(74, 46, 134)
HSLhsl(259, 49%, 35%)
HSVhsv(259, 66%, 53%)
CMYKcmyk(44.8%, 65.7%, 0%, 47.5%)
CIE-LABlab(27.10, 34.26, -44.99)
CIE-LCHlch(27.10, 56.55, 307.29°)
OKLaboklab(38.63% 0.0556 -0.1285)
OKLCHoklch(38.63% 0.14 293.4)
XYZxyz(8.1029, 5.1308, 23.1131)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E86 #6A862E
analogous
#2E3E86 #4A2E86 #762E86
triadic
#4A2E86 #864A2E #2E864A
tetradic
#4A2E86 #862E3E #6A862E #2E8676
square
#4A2E86 #862E3E #6A862E #2E8676
split-complementary
#4A2E86 #86762E #3E862E
monochromatic
#180F2B #311E58 #4A2E86 #633EB4 #8564CA

Accessibility & contrast

On white

10.36
#4A2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E86
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E86#FFFFFF#000000##FFFFFF
##4A2E861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#394255
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2e86;
/* rgb */ color: rgb(74, 46, 134);
/* oklch */ color: oklch(38.6% 0.140 293.4);
Tailwind
colors: {
  custom: {
    50: '#8268aa',
    500: '#4a2e86',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e86;
$custom-light: #8268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e86",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 259.091,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.14,
    "h": 293.4
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#4A2E86
secondary
#97B15F
accent
#D84FAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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