#4A2E83#4A2E83

#4A2E83 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.136 H 294.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4A2E83
RGBrgb(74, 46, 131)
HSLhsl(260, 48%, 35%)
HSVhsv(260, 65%, 51%)
CMYKcmyk(43.5%, 64.9%, 0%, 48.6%)
CIE-LABlab(26.87, 33.38, -43.49)
CIE-LCHlch(26.87, 54.82, 307.51°)
OKLaboklab(38.39% 0.0559 -0.1241)
OKLCHoklch(38.39% 0.136 294.2)
XYZxyz(7.8967, 5.0483, 22.0267)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E83 #67832E
analogous
#2E3C83 #4A2E83 #752E83
triadic
#4A2E83 #834A2E #2E834A
tetradic
#4A2E83 #832E3C #67832E #2E8375
square
#4A2E83 #832E3C #67832E #2E8375
split-complementary
#4A2E83 #83752E #3C832E
monochromatic
#170E28 #301E56 #4A2E83 #643EB0 #8463C8

Accessibility & contrast

On white

10.45
#4A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E83
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E83#FFFFFF#000000##FFFFFF
##4A2E831.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#3B4154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2e83;
/* rgb */ color: rgb(74, 46, 131);
/* oklch */ color: oklch(38.4% 0.136 294.2);
Tailwind
colors: {
  custom: {
    50: '#8168a8',
    500: '#4a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e83;
$custom-light: #8168a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e83",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 259.765,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.13607,
    "h": 294.2
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#4A2E83
secondary
#94AF5E
accent
#D850AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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