#4B26B5#4B26B5

#4B26B5 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.206 H 285.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4B26B5
RGBrgb(75, 38, 181)
HSLhsl(256, 65%, 43%)
HSVhsv(256, 79%, 71%)
CMYKcmyk(58.6%, 79%, 0%, 29%)
CIE-LABlab(29.95, 52.28, -68.94)
CIE-LCHlch(29.95, 86.52, 307.17°)
OKLaboklab(41.98% 0.0539 -0.1986)
OKLCHoklch(41.98% 0.206 285.2)
XYZxyz(11.9327, 6.2175, 44.2784)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26B5 #90B526
analogous
#2649B5 #4B26B5 #9226B5
triadic
#4B26B5 #B54B26 #26B54B
tetradic
#4B26B5 #B52649 #90B526 #26B592
square
#4B26B5 #B52649 #90B526 #26B592
split-complementary
#4B26B5 #B59226 #49B526
monochromatic
#211150 #361B82 #4B26B5 #6841D7 #9074E2

Accessibility & contrast

On white

9.36
#4B26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4B26B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26B5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26B5#FFFFFF#000000##FFFFFF
##4B26B51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#0E506D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b26b5;
/* rgb */ color: rgb(75, 38, 181);
/* oklch */ color: oklch(42.0% 0.206 285.2);
Tailwind
colors: {
  custom: {
    50: '#8a66cc',
    500: '#4b26b5',
    950: '#000000',
  },
}
SCSS
$custom: #4b26b5;
$custom-light: #8a66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26b5",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 255.524,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.20582,
    "h": 285.2
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#4B26B5
secondary
#B1C96E
accent
#E840BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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