#4C26CA#4C26CA

#4C26CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.229 H 282.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4C26CA
RGBrgb(76, 38, 202)
HSLhsl(254, 68%, 47%)
HSVhsv(254, 81%, 79%)
CMYKcmyk(62.4%, 81.2%, 0%, 20.8%)
CIE-LABlab(32.23, 58.25, -77.56)
CIE-LCHlch(32.23, 97.00, 306.91°)
OKLaboklab(44.22% 0.0488 -0.2237)
OKLCHoklch(44.22% 0.229 282.3)
XYZxyz(14.3309, 7.1860, 56.4975)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26CA #A4CA26
analogous
#2652CA #4C26CA #9E26CA
triadic
#4C26CA #CA4C26 #26CA4C
tetradic
#4C26CA #CA2652 #A4CA26 #26CA9E
square
#4C26CA #CA2652 #A4CA26 #26CA9E
split-complementary
#4C26CA #CA9E26 #52CA26
monochromatic
#251363 #391C96 #4C26CA #704FDE #9A83E8

Accessibility & contrast

On white

8.62
#4C26CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4C26CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26CA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26CA#FFFFFF#000000##FFFFFF
##4C26CA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c26ca;
/* rgb */ color: rgb(76, 38, 202);
/* oklch */ color: oklch(44.2% 0.229 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e67dc',
    500: '#4c26ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c26ca;
$custom-light: #8e67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26ca",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 253.902,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.22901,
    "h": 282.3
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#4C26CA
secondary
#BDD17B
accent
#EB3DC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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