#4D26AF#4D26AF

#4D26AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.199 H 287.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4D26AF
RGBrgb(77, 38, 175)
HSLhsl(257, 64%, 42%)
HSVhsv(257, 78%, 69%)
CMYKcmyk(56%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.56, 50.84, -66.01)
CIE-LCHlch(29.56, 83.32, 307.61°)
OKLaboklab(41.57% 0.0588 -0.19)
OKLCHoklch(41.57% 0.199 287.2)
XYZxyz(11.4892, 6.0585, 41.1131)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D26AF #88AF26
analogous
#2644AF #4D26AF #9226AF
triadic
#4D26AF #AF4D26 #26AF4D
tetradic
#4D26AF #AF2644 #88AF26 #26AF92
square
#4D26AF #AF2644 #88AF26 #26AF92
split-complementary
#4D26AF #AF9226 #44AF26
monochromatic
#21104A #371B7D #4D26AF #683DD5 #9070E0

Accessibility & contrast

On white

9.49
#4D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D26AF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D26AF#FFFFFF#000000##FFFFFF
##4D26AF1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#214E6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d26af;
/* rgb */ color: rgb(77, 38, 175);
/* oklch */ color: oklch(41.6% 0.199 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a66c8',
    500: '#4d26af',
    950: '#000000',
  },
}
SCSS
$custom: #4d26af;
$custom-light: #8a66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d26af",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 257.08,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.19887,
    "h": 287.2
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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