#4C26AD#4C26AD

#4C26AD is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.197 H 287.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4C26AD
RGBrgb(76, 38, 173)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 68%)
CMYKcmyk(56.1%, 78%, 0%, 32.2%)
CIE-LABlab(29.26, 50.15, -65.31)
CIE-LCHlch(29.26, 82.34, 307.52°)
OKLaboklab(41.28% 0.0578 -0.188)
OKLCHoklch(41.28% 0.197 287.1)
XYZxyz(11.2142, 5.9392, 40.0825)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AD #87AD26
analogous
#2644AD #4C26AD #9026AD
triadic
#4C26AD #AD4C26 #26AD4C
tetradic
#4C26AD #AD2644 #87AD26 #26AD90
square
#4C26AD #AD2644 #87AD26 #26AD90
split-complementary
#4C26AD #AD9026 #44AD26
monochromatic
#201049 #361B7B #4C26AD #673CD4 #8E6EDF

Accessibility & contrast

On white

9.60
#4C26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4C26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26AD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AD#FFFFFF#000000##FFFFFF
##4C26AD1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#204D69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c26ad;
/* rgb */ color: rgb(76, 38, 173);
/* oklch */ color: oklch(41.3% 0.197 287.1);
Tailwind
colors: {
  custom: {
    50: '#8965c7',
    500: '#4c26ad',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ad;
$custom-light: #8965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ad",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 256.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.19667,
    "h": 287.1
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#4C26AD
secondary
#ACC669
accent
#E741B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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