#4D26AB#4D26AB

#4D26AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.194 H 288.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4D26AB
RGBrgb(77, 38, 171)
HSLhsl(258, 64%, 41%)
HSVhsv(258, 78%, 67%)
CMYKcmyk(55%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.17, 49.72, -64.25)
CIE-LCHlch(29.17, 81.24, 307.74°)
OKLaboklab(41.18% 0.0599 -0.1849)
OKLCHoklch(41.18% 0.194 288)
XYZxyz(11.1022, 5.9037, 39.0747)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D26AB #84AB26
analogous
#2641AB #4D26AB #8F26AB
triadic
#4D26AB #AB4D26 #26AB4D
tetradic
#4D26AB #AB2641 #84AB26 #26AB8F
square
#4D26AB #AB2641 #84AB26 #26AB8F
split-complementary
#4D26AB #AB8F26 #41AB26
monochromatic
#201047 #361B79 #4D26AB #683BD3 #8E6DDF

Accessibility & contrast

On white

9.63
#4D26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D26AB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D26AB#FFFFFF#000000##FFFFFF
##4D26AB1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#254C68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d26ab;
/* rgb */ color: rgb(77, 38, 171);
/* oklch */ color: oklch(41.2% 0.194 288.0);
Tailwind
colors: {
  custom: {
    50: '#8965c5',
    500: '#4d26ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d26ab;
$custom-light: #8965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d26ab",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 257.594,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.19433,
    "h": 288
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#4D26AB
secondary
#AAC568
accent
#E741B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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