#4831C6#4831C6

#4831C6 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.216 H 280.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4831C6
RGBrgb(72, 49, 198)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 78%)
CMYKcmyk(63.6%, 75.3%, 0%, 22.4%)
CIE-LABlab(33.24, 51.55, -73.56)
CIE-LCHlch(33.24, 89.82, 305.02°)
OKLaboklab(44.72% 0.0381 -0.2123)
OKLCHoklch(44.72% 0.216 280.2)
XYZxyz(13.9606, 7.6505, 54.1561)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C6 #AFC631
analogous
#3164C6 #4831C6 #9231C6
triadic
#4831C6 #C64831 #31C648
tetradic
#4831C6 #C63164 #AFC631 #31C692
square
#4831C6 #C63164 #AFC631 #31C692
split-complementary
#4831C6 #C69231 #64C631
monochromatic
#241964 #362595 #4831C6 #705DD7 #9B8EE3

Accessibility & contrast

On white

8.30
#4831C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4831C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C6#FFFFFF#000000##FFFFFF
##4831C61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4831c6;
/* rgb */ color: rgb(72, 49, 198);
/* oklch */ color: oklch(44.7% 0.216 280.2);
Tailwind
colors: {
  custom: {
    50: '#8b6dd9',
    500: '#4831c6',
    950: '#000000',
  },
}
SCSS
$custom: #4831c6;
$custom-light: #8b6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c6",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 249.262,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.21568,
    "h": 280.2
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#4831C6
secondary
#C2CE85
accent
#E344CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4831C6

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

Preview Lab → · Contrast checker → · Palette generator →

#4831C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva