#4C26AC#4C26AC

#4C26AC is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.196 H 287.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4C26AC
RGBrgb(76, 38, 172)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(55.8%, 77.9%, 0%, 32.5%)
CIE-LABlab(29.16, 49.87, -64.87)
CIE-LCHlch(29.16, 81.82, 307.55°)
OKLaboklab(41.18% 0.0581 -0.1867)
OKLCHoklch(41.18% 0.196 287.3)
XYZxyz(11.1178, 5.9007, 39.5748)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AC #86AC26
analogous
#2643AC #4C26AC #8F26AC
triadic
#4C26AC #AC4C26 #26AC4C
tetradic
#4C26AC #AC2643 #86AC26 #26AC8F
square
#4C26AC #AC2643 #86AC26 #26AC8F
split-complementary
#4C26AC #AC8F26 #43AC26
monochromatic
#201048 #361B7A #4C26AC #673BD4 #8E6EDF

Accessibility & contrast

On white

9.63
#4C26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4C26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26AC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AC#FFFFFF#000000##FFFFFF
##4C26AC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#214D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c26ac;
/* rgb */ color: rgb(76, 38, 172);
/* oklch */ color: oklch(41.2% 0.196 287.3);
Tailwind
colors: {
  custom: {
    50: '#8965c6',
    500: '#4c26ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ac;
$custom-light: #8965c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ac",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 257.015,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.19553,
    "h": 287.3
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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