#4B26A2#4B26A2

#4B26A2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.184 H 288.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4B26A2
RGBrgb(75, 38, 162)
HSLhsl(258, 62%, 39%)
HSVhsv(258, 77%, 64%)
CMYKcmyk(53.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(28.09, 46.90, -60.60)
CIE-LCHlch(28.09, 76.63, 307.74°)
OKLaboklab(40.11% 0.0594 -0.1742)
OKLCHoklch(40.11% 0.184 288.8)
XYZxyz(10.1144, 5.4902, 34.7022)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B26A2 #7DA226
analogous
#263FA2 #4B26A2 #8926A2
triadic
#4B26A2 #A24B26 #26A24B
tetradic
#4B26A2 #A2263F #7DA226 #26A289
square
#4B26A2 #A2263F #7DA226 #26A289
split-complementary
#4B26A2 #A28926 #3FA226
monochromatic
#1D0F3F #341A70 #4B26A2 #6435D0 #8A67DB

Accessibility & contrast

On white

10.01
#4B26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B26A2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B26A2#FFFFFF#000000##FFFFFF
##4B26A21.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#294963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b26a2;
/* rgb */ color: rgb(75, 38, 162);
/* oklch */ color: oklch(40.1% 0.184 288.8);
Tailwind
colors: {
  custom: {
    50: '#8765bf',
    500: '#4b26a2',
    950: '#000000',
  },
}
SCSS
$custom: #4b26a2;
$custom-light: #8765bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b26a2",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 257.903,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.1841,
    "h": 288.8
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#4B26A2
secondary
#A5C163
accent
#E543B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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