#4C26AE#4C26AE

#4C26AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.198 H 286.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4C26AE
RGBrgb(76, 38, 174)
HSLhsl(257, 64%, 42%)
HSVhsv(257, 78%, 68%)
CMYKcmyk(56.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(29.36, 50.43, -65.74)
CIE-LCHlch(29.36, 82.86, 307.49°)
OKLaboklab(41.38% 0.0575 -0.1893)
OKLCHoklch(41.38% 0.198 286.9)
XYZxyz(11.3113, 5.9781, 40.5941)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AE #88AE26
analogous
#2644AE #4C26AE #9026AE
triadic
#4C26AE #AE4C26 #26AE4C
tetradic
#4C26AE #AE2644 #88AE26 #26AE90
square
#4C26AE #AE2644 #88AE26 #26AE90
split-complementary
#4C26AE #AE9026 #44AE26
monochromatic
#20104A #361B7C #4C26AE #673DD5 #8E6FE0

Accessibility & contrast

On white

9.56
#4C26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26AE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AE#FFFFFF#000000##FFFFFF
##4C26AE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#1F4D69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c26ae;
/* rgb */ color: rgb(76, 38, 174);
/* oklch */ color: oklch(41.4% 0.198 286.9);
Tailwind
colors: {
  custom: {
    50: '#8965c7',
    500: '#4c26ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ae;
$custom-light: #8965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ae",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 256.765,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.19781,
    "h": 286.9
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#4C26AE
secondary
#ACC66A
accent
#E741B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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