#4B26AA#4B26AA

#4B26AA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.193 H 287.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4B26AA
RGBrgb(75, 38, 170)
HSLhsl(257, 63%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(55.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(28.86, 49.17, -64.16)
CIE-LCHlch(28.86, 80.84, 307.47°)
OKLaboklab(40.89% 0.0572 -0.1847)
OKLCHoklch(40.89% 0.193 287.2)
XYZxyz(10.8483, 5.7838, 38.5672)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26AA #85AA26
analogous
#2643AA #4B26AA #8D26AA
triadic
#4B26AA #AA4B26 #26AA4B
tetradic
#4B26AA #AA2643 #85AA26 #26AA8D
square
#4B26AA #AA2643 #85AA26 #26AA8D
split-complementary
#4B26AA #AA8D26 #43AA26
monochromatic
#1F1046 #351B78 #4B26AA #653AD3 #8C6CDE

Accessibility & contrast

On white

9.74
#4B26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B26AA
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26AA#FFFFFF#000000##FFFFFF
##4B26AA1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#214C67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b26aa;
/* rgb */ color: rgb(75, 38, 170);
/* oklch */ color: oklch(40.9% 0.193 287.2);
Tailwind
colors: {
  custom: {
    50: '#8865c4',
    500: '#4b26aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b26aa;
$custom-light: #8865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26aa",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 256.818,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.19331,
    "h": 287.2
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#4B26AA
secondary
#AAC567
accent
#E641B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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