#4826B9#4826B9

#4826B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.211 H 283.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4826B9
RGBrgb(72, 38, 185)
HSLhsl(254, 66%, 44%)
HSVhsv(254, 79%, 73%)
CMYKcmyk(61.1%, 79.5%, 0%, 27.5%)
CIE-LABlab(30.07, 53.07, -71.13)
CIE-LCHlch(30.07, 88.75, 306.73°)
OKLaboklab(42.11% 0.0481 -0.2051)
OKLCHoklch(42.11% 0.211 283.2)
XYZxyz(12.1198, 6.2659, 46.4603)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826B9 #97B926
analogous
#264DB9 #4826B9 #9126B9
triadic
#4826B9 #B94826 #26B948
tetradic
#4826B9 #B9264D #97B926 #26B991
square
#4826B9 #B9264D #97B926 #26B991
split-complementary
#4826B9 #B99126 #4DB926
monochromatic
#201153 #341C86 #4826B9 #6644D9 #9076E3

Accessibility & contrast

On white

9.32
#4826B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4826B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4826B9#FFFFFF#000000##FFFFFF
##4826B91.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4826b9;
/* rgb */ color: rgb(72, 38, 185);
/* oklch */ color: oklch(42.1% 0.211 283.2);
Tailwind
colors: {
  custom: {
    50: '#8966cf',
    500: '#4826b9',
    950: '#000000',
  },
}
SCSS
$custom: #4826b9;
$custom-light: #8966cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4826b9",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 253.878,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.21068,
    "h": 283.2
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#4826B9
secondary
#B6CA70
accent
#E93FC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4826B9

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

Preview Lab → · Contrast checker → · Palette generator →

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