#4A269B#4A269B

#4A269B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 289.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4A269B
RGBrgb(74, 38, 155)
HSLhsl(258, 61%, 38%)
HSVhsv(258, 75%, 61%)
CMYKcmyk(52.3%, 75.5%, 0%, 39.2%)
CIE-LABlab(27.32, 44.76, -57.60)
CIE-LCHlch(27.32, 72.95, 307.85°)
OKLaboklab(39.35% 0.0598 -0.1655)
OKLCHoklch(39.35% 0.176 289.9)
XYZxyz(9.4318, 5.2082, 31.5123)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269B #779B26
analogous
#263C9B #4A269B #85269B
triadic
#4A269B #9B4A26 #269B4A
tetradic
#4A269B #9B263C #779B26 #269B85
square
#4A269B #9B263C #779B26 #269B85
split-complementary
#4A269B #9B8526 #3C9B26
monochromatic
#1B0E39 #331A6A #4A269B #6132CC #8763D9

Accessibility & contrast

On white

10.29
#4A269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A269B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269B#FFFFFF#000000##FFFFFF
##4A269B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#2D465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a269b;
/* rgb */ color: rgb(74, 38, 155);
/* oklch */ color: oklch(39.3% 0.176 289.9);
Tailwind
colors: {
  custom: {
    50: '#8564ba',
    500: '#4a269b',
    950: '#000000',
  },
}
SCSS
$custom: #4a269b;
$custom-light: #8564ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269b",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 258.462,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39345,
    "c": 0.17596,
    "h": 289.9
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#4A269B
secondary
#A1BE5F
accent
#E444B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269B

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

Preview Lab → · Contrast checker → · Palette generator →

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