#4826B5#4826B5

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

Color values

HEX#4826B5
RGBrgb(72, 38, 181)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(60.2%, 79%, 0%, 29%)
CIE-LABlab(29.66, 51.93, -69.44)
CIE-LCHlch(29.66, 86.71, 306.79°)
OKLaboklab(41.7% 0.0494 -0.2002)
OKLCHoklch(41.7% 0.206 283.9)
XYZxyz(11.7035, 6.0994, 44.2677)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826B5 #93B526
analogous
#264BB5 #4826B5 #9026B5
triadic
#4826B5 #B54826 #26B548
tetradic
#4826B5 #B5264B #93B526 #26B590
square
#4826B5 #B5264B #93B526 #26B590
split-complementary
#4826B5 #B59026 #4BB526
monochromatic
#201150 #341B82 #4826B5 #6541D7 #8E74E2

Accessibility & contrast

On white

9.46
#4826B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4826B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826B5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826B5#FFFFFF#000000##FFFFFF
##4826B51.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)
#004AB9
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4826b5;
/* rgb */ color: rgb(72, 38, 181);
/* oklch */ color: oklch(41.7% 0.206 283.9);
Tailwind
colors: {
  custom: {
    50: '#8966cc',
    500: '#4826b5',
    950: '#000000',
  },
}
SCSS
$custom: #4826b5;
$custom-light: #8966cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4826b5",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 254.266,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.20615,
    "h": 283.9
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#4826B5
secondary
#B3C96E
accent
#E840C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4826B5

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

Preview Lab → · Contrast checker → · Palette generator →

#4826B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva