#4C26AA#4C26AA

#4C26AA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.193 H 287.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4C26AA
RGBrgb(76, 38, 170)
HSLhsl(257, 63%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(55.3%, 77.6%, 0%, 33.3%)
CIE-LABlab(28.96, 49.31, -63.99)
CIE-LCHlch(28.96, 80.78, 307.62°)
OKLaboklab(40.98% 0.0587 -0.1841)
OKLCHoklch(40.98% 0.193 287.7)
XYZxyz(10.9272, 5.8244, 38.5709)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26AA #84AA26
analogous
#2642AA #4C26AA #8E26AA
triadic
#4C26AA #AA4C26 #26AA4C
tetradic
#4C26AA #AA2642 #84AA26 #26AA8E
square
#4C26AA #AA2642 #84AA26 #26AA8E
split-complementary
#4C26AA #AA8E26 #42AA26
monochromatic
#1F1046 #361B78 #4C26AA #663AD3 #8D6CDE

Accessibility & contrast

On white

9.70
#4C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C26AA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26AA#FFFFFF#000000##FFFFFF
##4C26AA1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#244C67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c26aa;
/* rgb */ color: rgb(76, 38, 170);
/* oklch */ color: oklch(41.0% 0.193 287.7);
Tailwind
colors: {
  custom: {
    50: '#8965c4',
    500: '#4c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c26aa;
$custom-light: #8965c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26aa",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 257.273,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.19326,
    "h": 287.7
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#4C26AA
secondary
#AAC567
accent
#E641B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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