#4826B6#4826B6

#4826B6 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.207 H 283.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4826B6
RGBrgb(72, 38, 182)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(60.4%, 79.1%, 0%, 28.6%)
CIE-LABlab(29.76, 52.22, -69.86)
CIE-LCHlch(29.76, 87.22, 306.78°)
OKLaboklab(41.81% 0.049 -0.2014)
OKLCHoklch(41.81% 0.207 283.7)
XYZxyz(11.8065, 6.1406, 44.8100)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826B6 #94B626
analogous
#264CB6 #4826B6 #9026B6
triadic
#4826B6 #B64826 #26B648
tetradic
#4826B6 #B6264C #94B626 #26B690
square
#4826B6 #B6264C #94B626 #26B690
split-complementary
#4826B6 #B69026 #4CB626
monochromatic
#201151 #341B83 #4826B6 #6542D7 #8E74E2

Accessibility & contrast

On white

9.42
#4826B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4826B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4826B6#FFFFFF#000000##FFFFFF
##4826B61.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4826b6;
/* rgb */ color: rgb(72, 38, 182);
/* oklch */ color: oklch(41.8% 0.207 283.7);
Tailwind
colors: {
  custom: {
    50: '#8966cd',
    500: '#4826b6',
    950: '#000000',
  },
}
SCSS
$custom: #4826b6;
$custom-light: #8966cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4826b6",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 254.167,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.20729,
    "h": 283.7
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#4826B6
secondary
#B4C96E
accent
#E83FC1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4826B6

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

Preview Lab → · Contrast checker → · Palette generator →

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