#4826B4#4826B4

#4826B4 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.205 H 284.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4826B4
RGBrgb(72, 38, 180)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(60%, 78.9%, 0%, 29.4%)
CIE-LABlab(29.56, 51.65, -69.01)
CIE-LCHlch(29.56, 86.19, 306.81°)
OKLaboklab(41.6% 0.0497 -0.1989)
OKLCHoklch(41.6% 0.205 284)
XYZxyz(11.6013, 6.0585, 43.7292)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826B4 #92B426
analogous
#264BB4 #4826B4 #8F26B4
triadic
#4826B4 #B44826 #26B448
tetradic
#4826B4 #B4264B #92B426 #26B48F
square
#4826B4 #B4264B #92B426 #26B48F
split-complementary
#4826B4 #B48F26 #4BB426
monochromatic
#20114F #341B81 #4826B4 #6440D7 #8D73E1

Accessibility & contrast

On white

9.49
#4826B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4826B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4826B4#FFFFFF#000000##FFFFFF
##4826B41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4826b4;
/* rgb */ color: rgb(72, 38, 180);
/* oklch */ color: oklch(41.6% 0.205 284.0);
Tailwind
colors: {
  custom: {
    50: '#8865cc',
    500: '#4826b4',
    950: '#000000',
  },
}
SCSS
$custom: #4826b4;
$custom-light: #8865cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4826b4",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 254.366,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.20502,
    "h": 284
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4826B4
secondary
#B3C96D
accent
#E840C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4826B4

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

Preview Lab → · Contrast checker → · Palette generator →

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