#4A269A#4A269A

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

Color values

HEX#4A269A
RGBrgb(74, 38, 154)
HSLhsl(259, 60%, 38%)
HSVhsv(259, 75%, 60%)
CMYKcmyk(51.9%, 75.3%, 0%, 39.6%)
CIE-LABlab(27.23, 44.48, -57.14)
CIE-LCHlch(27.23, 72.41, 307.89°)
OKLaboklab(39.25% 0.06 -0.1642)
OKLCHoklch(39.25% 0.175 290.1)
XYZxyz(9.3482, 5.1748, 31.0718)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A269A #769A26
analogous
#263C9A #4A269A #84269A
triadic
#4A269A #9A4A26 #269A4A
tetradic
#4A269A #9A263C #769A26 #269A84
square
#4A269A #9A263C #769A26 #269A84
split-complementary
#4A269A #9A8426 #3C9A26
monochromatic
#1B0E38 #321A69 #4A269A #6232CB #8762D8

Accessibility & contrast

On white

10.32
#4A269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A269A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A269A#FFFFFF#000000##FFFFFF
##4A269A1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#2D455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a269a;
/* rgb */ color: rgb(74, 38, 154);
/* oklch */ color: oklch(39.3% 0.175 290.1);
Tailwind
colors: {
  custom: {
    50: '#8564b9',
    500: '#4a269a',
    950: '#000000',
  },
}
SCSS
$custom: #4a269a;
$custom-light: #8564b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a269a",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 258.621,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39251,
    "c": 0.17478,
    "h": 290.1
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#4A269A
secondary
#A0BE5E
accent
#E444B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A269A

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

Preview Lab → · Contrast checker → · Palette generator →

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