#4D35BE#4D35BE

#4D35BE is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.201 H 282.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4D35BE
RGBrgb(77, 53, 190)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(59.5%, 72.1%, 0%, 25.5%)
CIE-LABlab(33.65, 47.67, -68.18)
CIE-LCHlch(33.65, 83.20, 304.96°)
OKLaboklab(44.88% 0.0441 -0.1965)
OKLCHoklch(44.88% 0.201 282.7)
XYZxyz(13.6250, 7.8408, 49.5007)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35BE #A6BE35
analogous
#3561BE #4D35BE #9235BE
triadic
#4D35BE #BE4D35 #35BE4D
tetradic
#4D35BE #BE3561 #A6BE35 #35BE92
square
#4D35BE #BE3561 #A6BE35 #35BE92
split-complementary
#4D35BE #BE9235 #61BE35
monochromatic
#261A5E #3A288E #4D35BE #725ED2 #9C8EDF

Accessibility & contrast

On white

8.18
#4D35BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D35BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D35BE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35BE#FFFFFF#000000##FFFFFF
##4D35BE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d35be;
/* rgb */ color: rgb(77, 53, 190);
/* oklch */ color: oklch(44.9% 0.201 282.7);
Tailwind
colors: {
  custom: {
    50: '#8b6fd3',
    500: '#4d35be',
    950: '#000000',
  },
}
SCSS
$custom: #4d35be;
$custom-light: #8b6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35be",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 250.511,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.20137,
    "h": 282.7
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#4D35BE
secondary
#BECA85
accent
#E048C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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