#4835C3#4835C3

#4835C3 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.208 H 280.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4835C3
RGBrgb(72, 53, 195)
HSLhsl(248, 57%, 49%)
HSVhsv(248, 73%, 76%)
CMYKcmyk(63.1%, 72.8%, 0%, 23.5%)
CIE-LABlab(33.70, 48.54, -71.06)
CIE-LCHlch(33.70, 86.06, 304.34°)
OKLaboklab(44.95% 0.0362 -0.205)
OKLCHoklch(44.95% 0.208 280)
XYZxyz(13.7928, 7.8630, 52.4100)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C3 #B0C335
analogous
#3569C3 #4835C3 #8F35C3
triadic
#4835C3 #C34835 #35C348
tetradic
#4835C3 #C33569 #B0C335 #35C38F
square
#4835C3 #C33569 #B0C335 #35C38F
split-complementary
#4835C3 #C38F35 #69C335
monochromatic
#241B63 #362893 #4835C3 #7061D4 #9C91E1

Accessibility & contrast

On white

8.16
#4835C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4835C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C3#FFFFFF#000000##FFFFFF
##4835C31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4835c3;
/* rgb */ color: rgb(72, 53, 195);
/* oklch */ color: oklch(45.0% 0.208 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a6fd6',
    500: '#4835c3',
    950: '#000000',
  },
}
SCSS
$custom: #4835c3;
$custom-light: #8a6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c3",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 248.028,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.2082,
    "h": 280
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#4835C3
secondary
#C3CC88
accent
#E147CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4835C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4835C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva