#4C26AB#4C26AB

#4C26AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.194 H 287.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4C26AB
RGBrgb(76, 38, 171)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(55.6%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.06, 49.59, -64.43)
CIE-LCHlch(29.06, 81.30, 307.59°)
OKLaboklab(41.08% 0.0584 -0.1854)
OKLCHoklch(41.08% 0.194 287.5)
XYZxyz(11.0221, 5.8624, 39.0710)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AB #85AB26
analogous
#2642AB #4C26AB #8E26AB
triadic
#4C26AB #AB4C26 #26AB4C
tetradic
#4C26AB #AB2642 #85AB26 #26AB8E
square
#4C26AB #AB2642 #85AB26 #26AB8E
split-complementary
#4C26AB #AB8E26 #42AB26
monochromatic
#1F1047 #361B79 #4C26AB #663BD3 #8D6DDF

Accessibility & contrast

On white

9.67
#4C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C26AB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AB#FFFFFF#000000##FFFFFF
##4C26AB1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#234C68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c26ab;
/* rgb */ color: rgb(76, 38, 171);
/* oklch */ color: oklch(41.1% 0.194 287.5);
Tailwind
colors: {
  custom: {
    50: '#8965c5',
    500: '#4c26ab',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ab;
$custom-light: #8965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ab",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 257.143,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41081,
    "c": 0.19439,
    "h": 287.5
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#4C26AB
secondary
#AAC568
accent
#E741B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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