#4D35AF#4D35AF

#4D35AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.183 H 284.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4D35AF
RGBrgb(77, 53, 175)
HSLhsl(252, 54%, 45%)
HSVhsv(252, 70%, 69%)
CMYKcmyk(56%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.30, 43.13, -61.51)
CIE-LCHlch(32.30, 75.12, 305.04°)
OKLaboklab(43.51% 0.047 -0.1769)
OKLCHoklch(43.51% 0.183 284.9)
XYZxyz(12.0692, 7.2184, 41.3065)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D35AF #97AF35
analogous
#355AAF #4D35AF #8A35AF
triadic
#4D35AF #AF4D35 #35AF4D
tetradic
#4D35AF #AF355A #97AF35 #35AF8A
square
#4D35AF #AF355A #97AF35 #35AF8A
split-complementary
#4D35AF #AF8A35 #5AAF35
monochromatic
#241951 #382780 #4D35AF #6D56CC #9585DA

Accessibility & contrast

On white

8.59
#4D35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D35AF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D35AF#FFFFFF#000000##FFFFFF
##4D35AF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#1F556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d35af;
/* rgb */ color: rgb(77, 53, 175);
/* oklch */ color: oklch(43.5% 0.183 284.9);
Tailwind
colors: {
  custom: {
    50: '#896ec8',
    500: '#4d35af',
    950: '#000000',
  },
}
SCSS
$custom: #4d35af;
$custom-light: #896ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d35af",
  "rgb": {
    "r": 77,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 251.803,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.18306,
    "h": 284.9
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#4D35AF
secondary
#B6C47C
accent
#DD4BC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4D35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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