#4F35D1#4F35D1

#4F35D1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.223 H 281.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4F35D1
RGBrgb(79, 53, 209)
HSLhsl(250, 63%, 51%)
HSVhsv(250, 75%, 82%)
CMYKcmyk(62.2%, 74.6%, 0%, 18%)
CIE-LABlab(35.62, 53.60, -76.03)
CIE-LCHlch(35.62, 93.03, 305.19°)
OKLaboklab(46.86% 0.0427 -0.2193)
OKLCHoklch(46.86% 0.223 281)
XYZxyz(16.0025, 8.8107, 61.1666)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35D1 #B7D135
analogous
#3569D1 #4F35D1 #9D35D1
triadic
#4F35D1 #D14F35 #35D14F
tetradic
#4F35D1 #D13569 #B7D135 #35D19D
square
#4F35D1 #D13569 #B7D135 #35D19D
split-complementary
#4F35D1 #D19D35 #69D135
monochromatic
#291A72 #3A25A4 #4F35D1 #7A67DC #A699E8

Accessibility & contrast

On white

7.60
#4F35D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4F35D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35D1
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35D1#FFFFFF#000000##FFFFFF
##4F35D11.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004ECE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f35d1;
/* rgb */ color: rgb(79, 53, 209);
/* oklch */ color: oklch(46.9% 0.223 281.0);
Tailwind
colors: {
  custom: {
    50: '#9070e0',
    500: '#4f35d1',
    950: '#000000',
  },
}
SCSS
$custom: #4f35d1;
$custom-light: #9070e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35d1",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 250,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46859,
    "c": 0.22346,
    "h": 281
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#4F35D1
secondary
#C8D38F
accent
#E642CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F35D1

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

Preview Lab → · Contrast checker → · Palette generator →

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