#4E35BF#4E35BF

#4E35BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.202 H 282.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E35BF
RGBrgb(78, 53, 191)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(59.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(33.83, 48.11, -68.47)
CIE-LCHlch(33.83, 83.69, 305.10°)
OKLaboklab(45.06% 0.0453 -0.1973)
OKLCHoklch(45.06% 0.202 282.9)
XYZxyz(13.8160, 7.9266, 50.0821)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E35BF #A6BF35
analogous
#3561BF #4E35BF #9335BF
triadic
#4E35BF #BF4E35 #35BF4E
tetradic
#4E35BF #BF3561 #A6BF35 #35BF93
square
#4E35BF #BF3561 #A6BF35 #35BF93
split-complementary
#4E35BF #BF9335 #61BF35
monochromatic
#271A5F #3A288F #4E35BF #745FD3 #9D8FE0

Accessibility & contrast

On white

8.12
#4E35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E35BF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E35BF#FFFFFF#000000##FFFFFF
##4E35BF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e35bf;
/* rgb */ color: rgb(78, 53, 191);
/* oklch */ color: oklch(45.1% 0.202 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c6fd3',
    500: '#4e35bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e35bf;
$custom-light: #8c6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e35bf",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 250.87,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.20243,
    "h": 282.9
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#4E35BF
secondary
#BECA85
accent
#E048C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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