#4C26B9#4C26B9

#4C26B9 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.210 H 284.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4C26B9
RGBrgb(76, 38, 185)
HSLhsl(256, 66%, 44%)
HSVhsv(256, 79%, 73%)
CMYKcmyk(58.9%, 79.5%, 0%, 27.5%)
CIE-LABlab(30.46, 53.52, -70.48)
CIE-LCHlch(30.46, 88.50, 307.21°)
OKLaboklab(42.47% 0.0542 -0.2031)
OKLCHoklch(42.47% 0.21 284.9)
XYZxyz(12.4279, 6.4247, 46.4747)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26B9 #93B926
analogous
#2649B9 #4C26B9 #9526B9
triadic
#4C26B9 #B94C26 #26B94C
tetradic
#4C26B9 #B92649 #93B926 #26B995
square
#4C26B9 #B92649 #93B926 #26B995
split-complementary
#4C26B9 #B99526 #49B926
monochromatic
#221153 #371C86 #4C26B9 #6A44D9 #9276E3

Accessibility & contrast

On white

9.19
#4C26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4C26B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26B9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26B9#FFFFFF#000000##FFFFFF
##4C26B91.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#085270
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c26b9;
/* rgb */ color: rgb(76, 38, 185);
/* oklch */ color: oklch(42.5% 0.210 284.9);
Tailwind
colors: {
  custom: {
    50: '#8b66cf',
    500: '#4c26b9',
    950: '#000000',
  },
}
SCSS
$custom: #4c26b9;
$custom-light: #8b66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26b9",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 255.51,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.2102,
    "h": 284.9
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#4C26B9
secondary
#B3CA70
accent
#E93FBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4C26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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