#4A26AC#4A26AC

#4A26AC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.196 H 286.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4A26AC
RGBrgb(74, 38, 172)
HSLhsl(256, 64%, 41%)
HSVhsv(256, 78%, 67%)
CMYKcmyk(57%, 77.9%, 0%, 32.5%)
CIE-LABlab(28.95, 49.61, -65.22)
CIE-LCHlch(28.95, 81.94, 307.26°)
OKLaboklab(40.99% 0.0551 -0.1878)
OKLCHoklch(40.99% 0.196 286.3)
XYZxyz(10.9613, 5.8200, 39.5675)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26AC #88AC26
analogous
#2645AC #4A26AC #8D26AC
triadic
#4A26AC #AC4A26 #26AC4A
tetradic
#4A26AC #AC2645 #88AC26 #26AC8D
square
#4A26AC #AC2645 #88AC26 #26AC8D
split-complementary
#4A26AC #AC8D26 #45AC26
monochromatic
#1F1048 #341B7A #4A26AC #643BD4 #8C6EDF

Accessibility & contrast

On white

9.70
#4A26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4A26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26AC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26AC#FFFFFF#000000##FFFFFF
##4A26AC1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#1B4D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a26ac;
/* rgb */ color: rgb(74, 38, 172);
/* oklch */ color: oklch(41.0% 0.196 286.3);
Tailwind
colors: {
  custom: {
    50: '#8865c6',
    500: '#4a26ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a26ac;
$custom-light: #8865c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26ac",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 256.119,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.19568,
    "h": 286.3
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#4A26AC
secondary
#ACC568
accent
#E741BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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