#4828C0#4828C0

#4828C0 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.217 H 281.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4828C0
RGBrgb(72, 40, 192)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 79%, 75%)
CMYKcmyk(62.5%, 79.2%, 0%, 24.7%)
CIE-LABlab(31.11, 54.16, -73.55)
CIE-LCHlch(31.11, 91.34, 306.37°)
OKLaboklab(43.05% 0.0449 -0.2122)
OKLCHoklch(43.05% 0.217 281.9)
XYZxyz(12.9427, 6.7001, 50.4702)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828C0 #A0C028
analogous
#2854C0 #4828C0 #9428C0
triadic
#4828C0 #C04828 #28C048
tetradic
#4828C0 #C02854 #A0C028 #28C094
square
#4828C0 #C02854 #A0C028 #28C094
split-complementary
#4828C0 #C09428 #54C028
monochromatic
#22135B #351D8D #4828C0 #694CDA #947EE4

Accessibility & contrast

On white

8.97
#4828C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4828C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828C0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828C0#FFFFFF#000000##FFFFFF
##4828C01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4828c0;
/* rgb */ color: rgb(72, 40, 192);
/* oklch */ color: oklch(43.0% 0.217 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a67d4',
    500: '#4828c0',
    950: '#000000',
  },
}
SCSS
$custom: #4828c0;
$custom-light: #8a67d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4828c0",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 192
  },
  "hsl": {
    "h": 252.632,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.21689,
    "h": 281.9
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#4828C0
secondary
#BBCD77
accent
#E83FC5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4828C0

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

Preview Lab → · Contrast checker → · Palette generator →

#4828C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva