#4F35B3#4F35B3

#4F35B3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.188 H 285.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4F35B3
RGBrgb(79, 53, 179)
HSLhsl(252, 54%, 45%)
HSVhsv(252, 70%, 70%)
CMYKcmyk(55.9%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.84, 44.65, -63.00)
CIE-LCHlch(32.84, 77.22, 305.33°)
OKLaboklab(44.05% 0.0491 -0.1812)
OKLCHoklch(44.05% 0.188 285.2)
XYZxyz(12.6318, 7.4624, 43.4139)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35B3 #99B335
analogous
#355AB3 #4F35B3 #8E35B3
triadic
#4F35B3 #B34F35 #35B34F
tetradic
#4F35B3 #B3355A #99B335 #35B38E
square
#4F35B3 #B3355A #99B335 #35B38E
split-complementary
#4F35B3 #B38E35 #5AB335
monochromatic
#251955 #3A2784 #4F35B3 #7058CD #9887DB

Accessibility & contrast

On white

8.42
#4F35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35B3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35B3#FFFFFF#000000##FFFFFF
##4F35B31.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#215670
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f35b3;
/* rgb */ color: rgb(79, 53, 179);
/* oklch */ color: oklch(44.0% 0.188 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b6fcb',
    500: '#4f35b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f35b3;
$custom-light: #8b6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35b3",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 252.381,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.18778,
    "h": 285.2
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#4F35B3
secondary
#B7C57F
accent
#DE4ABF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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