#4C26BA#4C26BA

#4C26BA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.211 H 284.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4C26BA
RGBrgb(76, 38, 186)
HSLhsl(255, 66%, 44%)
HSVhsv(255, 80%, 73%)
CMYKcmyk(59.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(30.56, 53.80, -70.91)
CIE-LCHlch(30.56, 89.01, 307.19°)
OKLaboklab(42.57% 0.0539 -0.2043)
OKLCHoklch(42.57% 0.211 284.8)
XYZxyz(12.5338, 6.4671, 47.0327)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26BA #94BA26
analogous
#264ABA #4C26BA #9626BA
triadic
#4C26BA #BA4C26 #26BA4C
tetradic
#4C26BA #BA264A #94BA26 #26BA96
square
#4C26BA #BA264A #94BA26 #26BA96
split-complementary
#4C26BA #BA9626 #4ABA26
monochromatic
#221154 #371C87 #4C26BA #6A44D9 #9377E3

Accessibility & contrast

On white

9.16
#4C26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C26BA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26BA#FFFFFF#000000##FFFFFF
##4C26BA1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#055270
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c26ba;
/* rgb */ color: rgb(76, 38, 186);
/* oklch */ color: oklch(42.6% 0.211 284.8);
Tailwind
colors: {
  custom: {
    50: '#8b66d0',
    500: '#4c26ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ba;
$custom-light: #8b66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ba",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 255.405,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.21132,
    "h": 284.8
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#4C26BA
secondary
#B4CB71
accent
#E93FBD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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