#4D26B0#4D26B0

#4D26B0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.200 H 287.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4D26B0
RGBrgb(77, 38, 176)
HSLhsl(257, 64%, 42%)
HSVhsv(257, 78%, 69%)
CMYKcmyk(56.2%, 78.4%, 0%, 31%)
CIE-LABlab(29.66, 51.12, -66.44)
CIE-LCHlch(29.66, 83.83, 307.58°)
OKLaboklab(41.67% 0.0585 -0.1913)
OKLCHoklch(41.67% 0.2 287)
XYZxyz(11.5878, 6.0980, 41.6323)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D26B0 #89B026
analogous
#2644B0 #4D26B0 #9226B0
triadic
#4D26B0 #B04D26 #26B04D
tetradic
#4D26B0 #B02644 #89B026 #26B092
square
#4D26B0 #B02644 #89B026 #26B092
split-complementary
#4D26B0 #B09226 #44B026
monochromatic
#21104B #371B7E #4D26B0 #693ED5 #9070E0

Accessibility & contrast

On white

9.46
#4D26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D26B0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D26B0#FFFFFF#000000##FFFFFF
##4D26B01.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#204E6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d26b0;
/* rgb */ color: rgb(77, 38, 176);
/* oklch */ color: oklch(41.7% 0.200 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a66c9',
    500: '#4d26b0',
    950: '#000000',
  },
}
SCSS
$custom: #4d26b0;
$custom-light: #8a66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d26b0",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 256.957,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.2,
    "h": 287
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#4D26B0
secondary
#ADC76B
accent
#E740B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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