#4B35B2#4B35B2

#4B35B2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.187 H 283.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4B35B2
RGBrgb(75, 53, 178)
HSLhsl(251, 54%, 45%)
HSVhsv(251, 70%, 70%)
CMYKcmyk(57.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(32.38, 43.73, -63.17)
CIE-LCHlch(32.38, 76.83, 304.70°)
OKLaboklab(43.6% 0.0437 -0.1819)
OKLCHoklch(43.6% 0.187 283.5)
XYZxyz(12.2082, 7.2556, 42.8680)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B35B2 #9CB235
analogous
#355DB2 #4B35B2 #8935B2
triadic
#4B35B2 #B24B35 #35B24B
tetradic
#4B35B2 #B2355D #9CB235 #35B289
square
#4B35B2 #B2355D #9CB235 #35B289
split-complementary
#4B35B2 #B28935 #5DB235
monochromatic
#231954 #372783 #4B35B2 #6C57CD #9586DB

Accessibility & contrast

On white

8.57
#4B35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4B35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B35B2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B35B2#FFFFFF#000000##FFFFFF
##4B35B21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#12566F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b35b2;
/* rgb */ color: rgb(75, 53, 178);
/* oklch */ color: oklch(43.6% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#886eca',
    500: '#4b35b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b35b2;
$custom-light: #886eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b35b2",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 250.56,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.18702,
    "h": 283.5
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#4B35B2
secondary
#B8C57E
accent
#DD4AC4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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