#4F35C1#4F35C1

#4F35C1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.3% C 0.205 H 283.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4F35C1
RGBrgb(79, 53, 193)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 73%, 76%)
CMYKcmyk(59.1%, 72.5%, 0%, 24.3%)
CIE-LABlab(34.10, 48.85, -69.19)
CIE-LCHlch(34.10, 84.70, 305.22°)
OKLaboklab(45.33% 0.0463 -0.1994)
OKLCHoklch(45.33% 0.205 283.1)
XYZxyz(14.1202, 8.0578, 51.2530)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35C1 #A7C135
analogous
#3561C1 #4F35C1 #9535C1
triadic
#4F35C1 #C14F35 #35C14F
tetradic
#4F35C1 #C13561 #A7C135 #35C195
square
#4F35C1 #C13561 #A7C135 #35C195
split-complementary
#4F35C1 #C19535 #61C135
monochromatic
#281B61 #3B2891 #4F35C1 #7560D3 #9F90E0

Accessibility & contrast

On white

8.04
#4F35C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F35C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35C1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35C1#FFFFFF#000000##FFFFFF
##4F35C11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f35c1;
/* rgb */ color: rgb(79, 53, 193);
/* oklch */ color: oklch(45.3% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d6fd5',
    500: '#4f35c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f35c1;
$custom-light: #8d6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35c1",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 251.143,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.20468,
    "h": 283.1
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#4F35C1
secondary
#BECB87
accent
#E048C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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