#4B26B6#4B26B6

#4B26B6 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.207 H 285.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4B26B6
RGBrgb(75, 38, 182)
HSLhsl(255, 65%, 43%)
HSVhsv(255, 79%, 71%)
CMYKcmyk(58.8%, 79.1%, 0%, 28.6%)
CIE-LABlab(30.06, 52.56, -69.37)
CIE-LCHlch(30.06, 87.04, 307.15°)
OKLaboklab(42.08% 0.0536 -0.1999)
OKLCHoklch(42.08% 0.207 285)
XYZxyz(12.0357, 6.2587, 44.8207)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26B6 #91B626
analogous
#2649B6 #4B26B6 #9326B6
triadic
#4B26B6 #B64B26 #26B64B
tetradic
#4B26B6 #B62649 #91B626 #26B693
square
#4B26B6 #B62649 #91B626 #26B693
split-complementary
#4B26B6 #B69326 #49B626
monochromatic
#211151 #361B83 #4B26B6 #6842D7 #9174E2

Accessibility & contrast

On white

9.33
#4B26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4B26B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26B6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26B6#FFFFFF#000000##FFFFFF
##4B26B61.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#0B516E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b26b6;
/* rgb */ color: rgb(75, 38, 182);
/* oklch */ color: oklch(42.1% 0.207 285.0);
Tailwind
colors: {
  custom: {
    50: '#8a66cd',
    500: '#4b26b6',
    950: '#000000',
  },
}
SCSS
$custom: #4b26b6;
$custom-light: #8a66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26b6",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 255.417,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.20695,
    "h": 285
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#4B26B6
secondary
#B2C96E
accent
#E83FBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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