#4826BA#4826BA

#4826BA is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.212 H 283.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4826BA
RGBrgb(72, 38, 186)
HSLhsl(254, 66%, 44%)
HSVhsv(254, 80%, 73%)
CMYKcmyk(61.3%, 79.6%, 0%, 27.1%)
CIE-LABlab(30.18, 53.36, -71.55)
CIE-LCHlch(30.18, 89.26, 306.71°)
OKLaboklab(42.22% 0.0478 -0.2063)
OKLCHoklch(42.22% 0.212 283.1)
XYZxyz(12.2258, 6.3083, 47.0182)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826BA #98BA26
analogous
#264EBA #4826BA #9226BA
triadic
#4826BA #BA4826 #26BA48
tetradic
#4826BA #BA264E #98BA26 #26BA92
square
#4826BA #BA264E #98BA26 #26BA92
split-complementary
#4826BA #BA9226 #4EBA26
monochromatic
#211154 #341C87 #4826BA #6644D9 #9077E3

Accessibility & contrast

On white

9.28
#4826BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4826BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826BA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826BA#FFFFFF#000000##FFFFFF
##4826BA1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4826ba;
/* rgb */ color: rgb(72, 38, 186);
/* oklch */ color: oklch(42.2% 0.212 283.1);
Tailwind
colors: {
  custom: {
    50: '#8966d0',
    500: '#4826ba',
    950: '#000000',
  },
}
SCSS
$custom: #4826ba;
$custom-light: #8966d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4826ba",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 253.784,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.21181,
    "h": 283.1
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#4826BA
secondary
#B6CB71
accent
#E93FC2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4826BA

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

Preview Lab → · Contrast checker → · Palette generator →

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