#4A26AA#4A26AA

#4A26AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.193 H 286.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4A26AA
RGBrgb(74, 38, 170)
HSLhsl(256, 63%, 41%)
HSVhsv(256, 78%, 67%)
CMYKcmyk(56.5%, 77.6%, 0%, 33.3%)
CIE-LABlab(28.76, 49.04, -64.34)
CIE-LCHlch(28.76, 80.90, 307.32°)
OKLaboklab(40.79% 0.0556 -0.1852)
OKLCHoklch(40.79% 0.193 286.7)
XYZxyz(10.7707, 5.7438, 38.5635)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26AA #86AA26
analogous
#2644AA #4A26AA #8C26AA
triadic
#4A26AA #AA4A26 #26AA4A
tetradic
#4A26AA #AA2644 #86AA26 #26AA8C
square
#4A26AA #AA2644 #86AA26 #26AA8C
split-complementary
#4A26AA #AA8C26 #44AA26
monochromatic
#1E1046 #341B78 #4A26AA #643AD3 #8B6CDE

Accessibility & contrast

On white

9.77
#4A26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26AA
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26AA#FFFFFF#000000##FFFFFF
##4A26AA1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#1D4C67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a26aa;
/* rgb */ color: rgb(74, 38, 170);
/* oklch */ color: oklch(40.8% 0.193 286.7);
Tailwind
colors: {
  custom: {
    50: '#8865c4',
    500: '#4a26aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a26aa;
$custom-light: #8865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26aa",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 256.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.19339,
    "h": 286.7
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#4A26AA
secondary
#ABC567
accent
#E641B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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