#4826AE#4826AE

#4826AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.198 H 285.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4826AE
RGBrgb(72, 38, 174)
HSLhsl(255, 64%, 42%)
HSVhsv(255, 78%, 68%)
CMYKcmyk(58.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(28.95, 49.93, -66.42)
CIE-LCHlch(28.95, 83.10, 306.93°)
OKLaboklab(41% 0.0514 -0.1914)
OKLCHoklch(41% 0.198 285)
XYZxyz(11.0033, 5.8193, 40.5796)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826AE #8CAE26
analogous
#2648AE #4826AE #8C26AE
triadic
#4826AE #AE4826 #26AE48
tetradic
#4826AE #AE2648 #8CAE26 #26AE8C
square
#4826AE #AE2648 #8CAE26 #26AE8C
split-complementary
#4826AE #AE8C26 #48AE26
monochromatic
#1E104A #331B7C #4826AE #633DD5 #8B6FE0

Accessibility & contrast

On white

9.70
#4826AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4826AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826AE
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826AE#FFFFFF#000000##FFFFFF
##4826AE1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#0D4E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4826ae;
/* rgb */ color: rgb(72, 38, 174);
/* oklch */ color: oklch(41.0% 0.198 285.0);
Tailwind
colors: {
  custom: {
    50: '#8765c7',
    500: '#4826ae',
    950: '#000000',
  },
}
SCSS
$custom: #4826ae;
$custom-light: #8765c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4826ae",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 255,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.19817,
    "h": 285
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#4826AE
secondary
#AFC66A
accent
#E741BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4826AE

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

Preview Lab → · Contrast checker → · Palette generator →

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