#4826B1#4826B1

#4826B1 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.202 H 284.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4826B1
RGBrgb(72, 38, 177)
HSLhsl(255, 65%, 42%)
HSVhsv(255, 79%, 69%)
CMYKcmyk(59.3%, 78.5%, 0%, 30.6%)
CIE-LABlab(29.25, 50.79, -67.72)
CIE-LCHlch(29.25, 84.65, 306.87°)
OKLaboklab(41.3% 0.0505 -0.1952)
OKLCHoklch(41.3% 0.202 284.5)
XYZxyz(11.2990, 5.9375, 42.1371)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826B1 #8FB126
analogous
#264AB1 #4826B1 #8D26B1
triadic
#4826B1 #B14826 #26B148
tetradic
#4826B1 #B1264A #8FB126 #26B18D
square
#4826B1 #B1264A #8FB126 #26B18D
split-complementary
#4826B1 #B18D26 #4AB126
monochromatic
#1F104C #341B7F #4826B1 #633FD6 #8C71E0

Accessibility & contrast

On white

9.60
#4826B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4826B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4826B1#FFFFFF#000000##FFFFFF
##4826B11.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#044F6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4826b1;
/* rgb */ color: rgb(72, 38, 177);
/* oklch */ color: oklch(41.3% 0.202 284.5);
Tailwind
colors: {
  custom: {
    50: '#8865ca',
    500: '#4826b1',
    950: '#000000',
  },
}
SCSS
$custom: #4826b1;
$custom-light: #8865ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4826b1",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 254.676,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.2016,
    "h": 284.5
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#4826B1
secondary
#B1C76B
accent
#E840BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4826B1

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

Preview Lab → · Contrast checker → · Palette generator →

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