#4826AB#4826AB

#4826AB is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.195 H 285.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4826AB
RGBrgb(72, 38, 171)
HSLhsl(255, 64%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(57.9%, 77.8%, 0%, 32.9%)
CIE-LABlab(28.65, 49.07, -65.12)
CIE-LCHlch(28.65, 81.53, 307.00°)
OKLaboklab(40.7% 0.0523 -0.1876)
OKLCHoklch(40.7% 0.195 285.6)
XYZxyz(10.7141, 5.7036, 39.0565)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826AB #89AB26
analogous
#2647AB #4826AB #8A26AB
triadic
#4826AB #AB4826 #26AB48
tetradic
#4826AB #AB2647 #89AB26 #26AB8A
square
#4826AB #AB2647 #89AB26 #26AB8A
split-complementary
#4826AB #AB8A26 #47AB26
monochromatic
#1E1047 #331B79 #4826AB #623BD3 #8A6DDF

Accessibility & contrast

On white

9.81
#4826AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4826AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826AB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826AB#FFFFFF#000000##FFFFFF
##4826AB1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#144C68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4826ab;
/* rgb */ color: rgb(72, 38, 171);
/* oklch */ color: oklch(40.7% 0.195 285.6);
Tailwind
colors: {
  custom: {
    50: '#8765c5',
    500: '#4826ab',
    950: '#000000',
  },
}
SCSS
$custom: #4826ab;
$custom-light: #8765c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4826ab",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 255.338,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40697,
    "c": 0.19472,
    "h": 285.6
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#4826AB
secondary
#ADC568
accent
#E741BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4826AB

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

Preview Lab → · Contrast checker → · Palette generator →

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