#4826AC#4826AC

#4826AC is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.196 H 285.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4826AC
RGBrgb(72, 38, 172)
HSLhsl(255, 64%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(58.1%, 77.9%, 0%, 32.5%)
CIE-LABlab(28.75, 49.35, -65.56)
CIE-LCHlch(28.75, 82.06, 306.98°)
OKLaboklab(40.8% 0.052 -0.1888)
OKLCHoklch(40.8% 0.196 285.4)
XYZxyz(10.8097, 5.7418, 39.5604)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826AC #8AAC26
analogous
#2647AC #4826AC #8B26AC
triadic
#4826AC #AC4826 #26AC48
tetradic
#4826AC #AC2647 #8AAC26 #26AC8B
square
#4826AC #AC2647 #8AAC26 #26AC8B
split-complementary
#4826AC #AC8B26 #47AC26
monochromatic
#1E1048 #331B7A #4826AC #623BD4 #8A6EDF

Accessibility & contrast

On white

9.77
#4826AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4826AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826AC
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826AC#FFFFFF#000000##FFFFFF
##4826AC1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#124D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4826ac;
/* rgb */ color: rgb(72, 38, 172);
/* oklch */ color: oklch(40.8% 0.196 285.4);
Tailwind
colors: {
  custom: {
    50: '#8765c6',
    500: '#4826ac',
    950: '#000000',
  },
}
SCSS
$custom: #4826ac;
$custom-light: #8765c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4826ac",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 255.224,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.19587,
    "h": 285.4
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#4826AC
secondary
#AEC568
accent
#E741BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4826AC

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

Preview Lab → · Contrast checker → · Palette generator →

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