#4B26AB#4B26AB

#4B26AB is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.194 H 287.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4B26AB
RGBrgb(75, 38, 171)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(56.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(28.96, 49.46, -64.60)
CIE-LCHlch(28.96, 81.36, 307.44°)
OKLaboklab(40.98% 0.0569 -0.186)
OKLCHoklch(40.98% 0.194 287)
XYZxyz(10.9433, 5.8218, 39.0673)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26AB #86AB26
analogous
#2643AB #4B26AB #8D26AB
triadic
#4B26AB #AB4B26 #26AB4B
tetradic
#4B26AB #AB2643 #86AB26 #26AB8D
square
#4B26AB #AB2643 #86AB26 #26AB8D
split-complementary
#4B26AB #AB8D26 #43AB26
monochromatic
#1F1047 #351B79 #4B26AB #653BD3 #8C6DDF

Accessibility & contrast

On white

9.70
#4B26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4B26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26AB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26AB#FFFFFF#000000##FFFFFF
##4B26AB1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#1F4C68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b26ab;
/* rgb */ color: rgb(75, 38, 171);
/* oklch */ color: oklch(41.0% 0.194 287.0);
Tailwind
colors: {
  custom: {
    50: '#8865c5',
    500: '#4b26ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b26ab;
$custom-light: #8865c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26ab",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 256.692,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.19446,
    "h": 287
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#4B26AB
secondary
#ABC568
accent
#E741B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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