#4826A4#4826A4

#4826A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.187 H 286.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4826A4
RGBrgb(72, 38, 164)
HSLhsl(256, 62%, 40%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(56.1%, 76.8%, 0%, 35.7%)
CIE-LABlab(27.96, 47.05, -62.03)
CIE-LCHlch(27.96, 77.86, 307.18°)
OKLaboklab(40.01% 0.0543 -0.1785)
OKLCHoklch(40.01% 0.187 286.9)
XYZxyz(10.0644, 5.4437, 35.6352)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826A4 #82A426
analogous
#2643A4 #4826A4 #8726A4
triadic
#4826A4 #A44826 #26A448
tetradic
#4826A4 #A42643 #82A426 #26A487
square
#4826A4 #A42643 #82A426 #26A487
split-complementary
#4826A4 #A48726 #43A426
monochromatic
#1C0F41 #321A72 #4826A4 #6037D1 #8868DC

Accessibility & contrast

On white

10.05
#4826A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4826A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826A4
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826A4#FFFFFF#000000##FFFFFF
##4826A41.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#1F4A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4826a4;
/* rgb */ color: rgb(72, 38, 164);
/* oklch */ color: oklch(40.0% 0.187 286.9);
Tailwind
colors: {
  custom: {
    50: '#8665c0',
    500: '#4826a4',
    950: '#000000',
  },
}
SCSS
$custom: #4826a4;
$custom-light: #8665c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4826a4",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 256.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.1866,
    "h": 286.9
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#4826A4
secondary
#A9C264
accent
#E542B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4826A4

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

Preview Lab → · Contrast checker → · Palette generator →

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