#4C36BA#4C36BA

#4C36BA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.196 H 282.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4C36BA
RGBrgb(76, 54, 186)
HSLhsl(250, 55%, 47%)
HSVhsv(250, 71%, 73%)
CMYKcmyk(59.1%, 71%, 0%, 27.1%)
CIE-LABlab(33.39, 45.77, -66.25)
CIE-LCHlch(33.39, 80.53, 304.64°)
OKLaboklab(44.57% 0.0428 -0.1909)
OKLCHoklch(44.57% 0.196 282.6)
XYZxyz(13.1598, 7.7191, 47.2413)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C36BA #A4BA36
analogous
#3662BA #4C36BA #8E36BA
triadic
#4C36BA #BA4C36 #36BA4C
tetradic
#4C36BA #BA3662 #A4BA36 #36BA8E
square
#4C36BA #BA3662 #A4BA36 #36BA8E
split-complementary
#4C36BA #BA8E36 #62BA36
monochromatic
#251A5B #39288B #4C36BA #705DD0 #9A8DDE

Accessibility & contrast

On white

8.25
#4C36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C36BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C36BA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C36BA#FFFFFF#000000##FFFFFF
##4C36BA1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c36ba;
/* rgb */ color: rgb(76, 54, 186);
/* oklch */ color: oklch(44.6% 0.196 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a6fd0',
    500: '#4c36ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c36ba;
$custom-light: #8a6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c36ba",
  "rgb": {
    "r": 76,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 250,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44565,
    "c": 0.19559,
    "h": 282.6
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#4C36BA
secondary
#BDC884
accent
#DE49C6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C36BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4C36BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva