#4C26CB#4C26CB

#4C26CB is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.230 H 282.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4C26CB
RGBrgb(76, 38, 203)
HSLhsl(254, 68%, 47%)
HSVhsv(254, 81%, 80%)
CMYKcmyk(62.6%, 81.3%, 0%, 20.4%)
CIE-LABlab(32.33, 58.53, -77.97)
CIE-LCHlch(32.33, 97.49, 306.89°)
OKLaboklab(44.32% 0.0485 -0.2249)
OKLCHoklch(44.32% 0.23 282.2)
XYZxyz(14.4497, 7.2335, 57.1231)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26CB #A5CB26
analogous
#2653CB #4C26CB #9E26CB
triadic
#4C26CB #CB4C26 #26CB4C
tetradic
#4C26CB #CB2653 #A5CB26 #26CB9E
square
#4C26CB #CB2653 #A5CB26 #26CB9E
split-complementary
#4C26CB #CB9E26 #53CB26
monochromatic
#251364 #391C97 #4C26CB #7150DE #9B84E8

Accessibility & contrast

On white

8.58
#4C26CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4C26CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26CB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26CB#FFFFFF#000000##FFFFFF
##4C26CB1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c26cb;
/* rgb */ color: rgb(76, 38, 203);
/* oklch */ color: oklch(44.3% 0.230 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e67dc',
    500: '#4c26cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c26cb;
$custom-light: #8e67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26cb",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 203
  },
  "hsl": {
    "h": 253.818,
    "s": 68.465,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.23009,
    "h": 282.2
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#4C26CB
secondary
#BDD17C
accent
#EB3CC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C26CB

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

Preview Lab → · Contrast checker → · Palette generator →

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