#4D26A9#4D26A9

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

Color values

HEX#4D26A9
RGBrgb(77, 38, 169)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 78%, 66%)
CMYKcmyk(54.4%, 77.5%, 0%, 33.7%)
CIE-LABlab(28.97, 49.16, -63.37)
CIE-LCHlch(28.97, 80.20, 307.81°)
OKLaboklab(40.99% 0.0605 -0.1823)
OKLCHoklch(40.99% 0.192 288.4)
XYZxyz(10.9130, 5.8280, 38.0783)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D26A9 #82A926
analogous
#2640A9 #4D26A9 #8F26A9
triadic
#4D26A9 #A94D26 #26A94D
tetradic
#4D26A9 #A92640 #82A926 #26A98F
square
#4D26A9 #A92640 #82A926 #26A98F
split-complementary
#4D26A9 #A98F26 #40A926
monochromatic
#1F1045 #361B77 #4D26A9 #673AD3 #8E6CDE

Accessibility & contrast

On white

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

On black

2.17
#4D26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D26A9#FFFFFF#000000##FFFFFF
##4D26A91.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#284B67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d26a9;
/* rgb */ color: rgb(77, 38, 169);
/* oklch */ color: oklch(41.0% 0.192 288.4);
Tailwind
colors: {
  custom: {
    50: '#8965c4',
    500: '#4d26a9',
    950: '#000000',
  },
}
SCSS
$custom: #4d26a9;
$custom-light: #8965c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d26a9",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 257.863,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.19206,
    "h": 288.4
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#4D26A9
secondary
#A8C467
accent
#E641B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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