#4A26A2#4A26A2

#4A26A2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.184 H 288.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4A26A2
RGBrgb(74, 38, 162)
HSLhsl(257, 62%, 39%)
HSVhsv(257, 77%, 64%)
CMYKcmyk(54.3%, 76.5%, 0%, 36.5%)
CIE-LABlab(27.98, 46.76, -60.78)
CIE-LCHlch(27.98, 76.69, 307.57°)
OKLaboklab(40.01% 0.0579 -0.1748)
OKLCHoklch(40.01% 0.184 288.3)
XYZxyz(10.0368, 5.4502, 34.6985)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A26A2 #7EA226
analogous
#2640A2 #4A26A2 #8826A2
triadic
#4A26A2 #A24A26 #26A24A
tetradic
#4A26A2 #A22640 #7EA226 #26A288
square
#4A26A2 #A22640 #7EA226 #26A288
split-complementary
#4A26A2 #A28826 #40A226
monochromatic
#1D0F3F #331A70 #4A26A2 #6235D0 #8967DB

Accessibility & contrast

On white

10.05
#4A26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4A26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A26A2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A26A2#FFFFFF#000000##FFFFFF
##4A26A21.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#274963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a26a2;
/* rgb */ color: rgb(74, 38, 162);
/* oklch */ color: oklch(40.0% 0.184 288.3);
Tailwind
colors: {
  custom: {
    50: '#8665bf',
    500: '#4a26a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a26a2;
$custom-light: #8665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a26a2",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 257.419,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.18415,
    "h": 288.3
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#4A26A2
secondary
#A6C163
accent
#E543B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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