#4B26B9#4B26B9

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

Color values

HEX#4B26B9
RGBrgb(75, 38, 185)
HSLhsl(255, 66%, 44%)
HSVhsv(255, 79%, 73%)
CMYKcmyk(59.5%, 79.5%, 0%, 27.5%)
CIE-LABlab(30.36, 53.41, -70.65)
CIE-LCHlch(30.36, 88.56, 307.09°)
OKLaboklab(42.38% 0.0527 -0.2036)
OKLCHoklch(42.38% 0.21 284.5)
XYZxyz(12.3490, 6.3841, 46.4711)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26B9 #94B926
analogous
#264AB9 #4B26B9 #9426B9
triadic
#4B26B9 #B94B26 #26B94B
tetradic
#4B26B9 #B9264A #94B926 #26B994
square
#4B26B9 #B9264A #94B926 #26B994
split-complementary
#4B26B9 #B99426 #4AB926
monochromatic
#221153 #361C86 #4B26B9 #6944D9 #9276E3

Accessibility & contrast

On white

9.22
#4B26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B26B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26B9
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26B9#FFFFFF#000000##FFFFFF
##4B26B91.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b26b9;
/* rgb */ color: rgb(75, 38, 185);
/* oklch */ color: oklch(42.4% 0.210 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b66cf',
    500: '#4b26b9',
    950: '#000000',
  },
}
SCSS
$custom: #4b26b9;
$custom-light: #8b66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26b9",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 255.102,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.21031,
    "h": 284.5
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#4B26B9
secondary
#B4CA70
accent
#E93FBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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