#4826A3#4826A3

#4826A3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.185 H 287.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4826A3
RGBrgb(72, 38, 163)
HSLhsl(256, 62%, 39%)
HSVhsv(256, 77%, 64%)
CMYKcmyk(55.8%, 76.7%, 0%, 36.1%)
CIE-LABlab(27.87, 46.76, -61.58)
CIE-LCHlch(27.87, 77.33, 307.21°)
OKLaboklab(39.91% 0.0546 -0.1772)
OKLCHoklch(39.91% 0.185 287.1)
XYZxyz(9.9745, 5.4078, 35.1614)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826A3 #81A326
analogous
#2643A3 #4826A3 #8726A3
triadic
#4826A3 #A34826 #26A348
tetradic
#4826A3 #A32643 #81A326 #26A387
square
#4826A3 #A32643 #81A326 #26A387
split-complementary
#4826A3 #A38726 #43A326
monochromatic
#1C0F40 #321A71 #4826A3 #6036D0 #8768DC

Accessibility & contrast

On white

10.09
#4826A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4826A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826A3
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826A3#FFFFFF#000000##FFFFFF
##4826A31.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#204963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4826a3;
/* rgb */ color: rgb(72, 38, 163);
/* oklch */ color: oklch(39.9% 0.185 287.1);
Tailwind
colors: {
  custom: {
    50: '#8564bf',
    500: '#4826a3',
    950: '#000000',
  },
}
SCSS
$custom: #4826a3;
$custom-light: #8564bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4826a3",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 256.32,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.18543,
    "h": 287.1
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#4826A3
secondary
#A8C263
accent
#E543B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4826A3

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

Preview Lab → · Contrast checker → · Palette generator →

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