#4B35B0#4B35B0

#4B35B0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.185 H 283.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4B35B0
RGBrgb(75, 53, 176)
HSLhsl(251, 54%, 45%)
HSVhsv(251, 70%, 69%)
CMYKcmyk(57.4%, 69.9%, 0%, 31%)
CIE-LABlab(32.20, 43.12, -62.27)
CIE-LCHlch(32.20, 75.74, 304.70°)
OKLaboklab(43.42% 0.044 -0.1792)
OKLCHoklch(43.42% 0.185 283.8)
XYZxyz(12.0088, 7.1759, 41.8182)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B35B0 #9AB035
analogous
#355CB0 #4B35B0 #8935B0
triadic
#4B35B0 #B04B35 #35B04B
tetradic
#4B35B0 #B0355C #9AB035 #35B089
square
#4B35B0 #B0355C #9AB035 #35B089
split-complementary
#4B35B0 #B08935 #5CB035
monochromatic
#231952 #372781 #4B35B0 #6B56CC #9485DA

Accessibility & contrast

On white

8.62
#4B35B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4B35B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B35B0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B35B0#FFFFFF#000000##FFFFFF
##4B35B01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#16556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b35b0;
/* rgb */ color: rgb(75, 53, 176);
/* oklch */ color: oklch(43.4% 0.185 283.8);
Tailwind
colors: {
  custom: {
    50: '#886ec9',
    500: '#4b35b0',
    950: '#000000',
  },
}
SCSS
$custom: #4b35b0;
$custom-light: #886ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b35b0",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 250.732,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.18453,
    "h": 283.8
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#4B35B0
secondary
#B7C47D
accent
#DD4BC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B35B0

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

Preview Lab → · Contrast checker → · Palette generator →

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