#4C26BB#4C26BB

#4C26BB is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.212 H 284.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4C26BB
RGBrgb(76, 38, 187)
HSLhsl(255, 66%, 44%)
HSVhsv(255, 80%, 73%)
CMYKcmyk(59.4%, 79.7%, 0%, 26.7%)
CIE-LABlab(30.66, 54.08, -71.33)
CIE-LCHlch(30.66, 89.51, 307.17°)
OKLaboklab(42.68% 0.0536 -0.2056)
OKLCHoklch(42.68% 0.212 284.6)
XYZxyz(12.6405, 6.5098, 47.5945)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C26BB #95BB26
analogous
#264BBB #4C26BB #9726BB
triadic
#4C26BB #BB4C26 #26BB4C
tetradic
#4C26BB #BB264B #95BB26 #26BB97
square
#4C26BB #BB264B #95BB26 #26BB97
split-complementary
#4C26BB #BB9726 #4BBB26
monochromatic
#231155 #371C88 #4C26BB #6B45D9 #9378E4

Accessibility & contrast

On white

9.12
#4C26BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4C26BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C26BB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C26BB#FFFFFF#000000##FFFFFF
##4C26BB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#015371
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c26bb;
/* rgb */ color: rgb(76, 38, 187);
/* oklch */ color: oklch(42.7% 0.212 284.6);
Tailwind
colors: {
  custom: {
    50: '#8c66d1',
    500: '#4c26bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c26bb;
$custom-light: #8c66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c26bb",
  "rgb": {
    "r": 76,
    "g": 38,
    "b": 187
  },
  "hsl": {
    "h": 255.302,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.21244,
    "h": 284.6
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#4C26BB
secondary
#B4CB72
accent
#E93FBE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C26BB

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

Preview Lab → · Contrast checker → · Palette generator →

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