#4B35B3#4B35B3

#4B35B3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.188 H 283.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4B35B3
RGBrgb(75, 53, 179)
HSLhsl(250, 54%, 45%)
HSVhsv(250, 70%, 70%)
CMYKcmyk(58.1%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.47, 44.04, -63.62)
CIE-LCHlch(32.47, 77.37, 304.69°)
OKLaboklab(43.69% 0.0435 -0.1832)
OKLCHoklch(43.69% 0.188 283.4)
XYZxyz(12.3089, 7.2960, 43.3987)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B35B3 #9DB335
analogous
#355EB3 #4B35B3 #8A35B3
triadic
#4B35B3 #B34B35 #35B34B
tetradic
#4B35B3 #B3355E #9DB335 #35B38A
square
#4B35B3 #B3355E #9DB335 #35B38A
split-complementary
#4B35B3 #B38A35 #5EB335
monochromatic
#231955 #372784 #4B35B3 #6C58CD #9687DB

Accessibility & contrast

On white

8.54
#4B35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4B35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B35B3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B35B3#FFFFFF#000000##FFFFFF
##4B35B31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#105670
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b35b3;
/* rgb */ color: rgb(75, 53, 179);
/* oklch */ color: oklch(43.7% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#896ecb',
    500: '#4b35b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b35b3;
$custom-light: #896ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b35b3",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 250.476,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.18825,
    "h": 283.4
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#4B35B3
secondary
#B9C57F
accent
#DE4AC4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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