#4827BF#4827BF

#4827BF is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.217 H 282.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4827BF
RGBrgb(72, 39, 191)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 80%, 75%)
CMYKcmyk(62.3%, 79.6%, 0%, 25.1%)
CIE-LABlab(30.85, 54.33, -73.39)
CIE-LCHlch(30.85, 91.31, 306.51°)
OKLaboklab(42.84% 0.0458 -0.2117)
OKLCHoklch(42.84% 0.217 282.2)
XYZxyz(12.7990, 6.5894, 49.8775)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827BF #9EBF27
analogous
#2752BF #4827BF #9427BF
triadic
#4827BF #BF4827 #27BF48
tetradic
#4827BF #BF2752 #9EBF27 #27BF94
square
#4827BF #BF2752 #9EBF27 #27BF94
split-complementary
#4827BF #BF9427 #52BF27
monochromatic
#221259 #351D8C #4827BF #6949DA #937CE4

Accessibility & contrast

On white

9.06
#4827BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4827BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827BF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827BF#FFFFFF#000000##FFFFFF
##4827BF1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4827bf;
/* rgb */ color: rgb(72, 39, 191);
/* oklch */ color: oklch(42.8% 0.217 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a67d4',
    500: '#4827bf',
    950: '#000000',
  },
}
SCSS
$custom: #4827bf;
$custom-light: #8a67d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4827bf",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 191
  },
  "hsl": {
    "h": 253.026,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.2166,
    "h": 282.2
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#4827BF
secondary
#BACC75
accent
#E93FC4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4827BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4827BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva