#4B26B2#4B26B2

#4B26B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.202 H 285.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4B26B2
RGBrgb(75, 38, 178)
HSLhsl(256, 65%, 42%)
HSVhsv(256, 79%, 70%)
CMYKcmyk(57.9%, 78.7%, 0%, 30.2%)
CIE-LABlab(29.65, 51.44, -67.65)
CIE-LCHlch(29.65, 84.99, 307.25°)
OKLaboklab(41.68% 0.0548 -0.1949)
OKLCHoklch(41.68% 0.202 285.7)
XYZxyz(11.6282, 6.0957, 42.6747)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26B2 #8DB226
analogous
#2647B2 #4B26B2 #9126B2
triadic
#4B26B2 #B24B26 #26B24B
tetradic
#4B26B2 #B22647 #8DB226 #26B291
square
#4B26B2 #B22647 #8DB226 #26B291
split-complementary
#4B26B2 #B29126 #47B226
monochromatic
#20104D #361B80 #4B26B2 #673FD6 #8F72E1

Accessibility & contrast

On white

9.46
#4B26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B26B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26B2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26B2#FFFFFF#000000##FFFFFF
##4B26B21.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#154F6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b26b2;
/* rgb */ color: rgb(75, 38, 178);
/* oklch */ color: oklch(41.7% 0.202 285.7);
Tailwind
colors: {
  custom: {
    50: '#8a66ca',
    500: '#4b26b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b26b2;
$custom-light: #8a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26b2",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 255.857,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41677,
    "c": 0.20243,
    "h": 285.7
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#4B26B2
secondary
#B0C86C
accent
#E840BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B26B2

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

Preview Lab → · Contrast checker → · Palette generator →

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