#4826AA#4826AA

#4826AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.194 H 285.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4826AA
RGBrgb(72, 38, 170)
HSLhsl(255, 63%, 41%)
HSVhsv(255, 78%, 67%)
CMYKcmyk(57.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(28.55, 48.78, -64.68)
CIE-LCHlch(28.55, 81.01, 307.02°)
OKLaboklab(40.6% 0.0526 -0.1863)
OKLCHoklch(40.6% 0.194 285.8)
XYZxyz(10.6191, 5.6656, 38.5564)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826AA #88AA26
analogous
#2646AA #4826AA #8A26AA
triadic
#4826AA #AA4826 #26AA48
tetradic
#4826AA #AA2646 #88AA26 #26AA8A
square
#4826AA #AA2646 #88AA26 #26AA8A
split-complementary
#4826AA #AA8A26 #46AA26
monochromatic
#1E1046 #331B78 #4826AA #623AD3 #8A6CDE

Accessibility & contrast

On white

9.84
#4826AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4826AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4826AA#FFFFFF#000000##FFFFFF
##4826AA1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#164C67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4826aa;
/* rgb */ color: rgb(72, 38, 170);
/* oklch */ color: oklch(40.6% 0.194 285.8);
Tailwind
colors: {
  custom: {
    50: '#8765c4',
    500: '#4826aa',
    950: '#000000',
  },
}
SCSS
$custom: #4826aa;
$custom-light: #8765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4826aa",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 255.455,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.19356,
    "h": 285.8
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#4826AA
secondary
#ADC567
accent
#E641BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4826AA

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

Preview Lab → · Contrast checker → · Palette generator →

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