#4F35C3#4F35C3

#4F35C3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.207 H 282.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4F35C3
RGBrgb(79, 53, 195)
HSLhsl(251, 57%, 49%)
HSVhsv(251, 73%, 76%)
CMYKcmyk(59.5%, 72.8%, 0%, 23.5%)
CIE-LABlab(34.29, 49.45, -70.06)
CIE-LCHlch(34.29, 85.75, 305.21°)
OKLaboklab(45.52% 0.0459 -0.2019)
OKLCHoklch(45.52% 0.207 282.8)
XYZxyz(14.3448, 8.1476, 52.4359)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35C3 #A9C335
analogous
#3562C3 #4F35C3 #9635C3
triadic
#4F35C3 #C34F35 #35C34F
tetradic
#4F35C3 #C33562 #A9C335 #35C396
square
#4F35C3 #C33562 #A9C335 #35C396
split-complementary
#4F35C3 #C39635 #62C335
monochromatic
#281B63 #3C2893 #4F35C3 #7661D4 #A091E1

Accessibility & contrast

On white

7.99
#4F35C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4F35C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35C3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35C3#FFFFFF#000000##FFFFFF
##4F35C31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f35c3;
/* rgb */ color: rgb(79, 53, 195);
/* oklch */ color: oklch(45.5% 0.207 282.8);
Tailwind
colors: {
  custom: {
    50: '#8d6fd6',
    500: '#4f35c3',
    950: '#000000',
  },
}
SCSS
$custom: #4f35c3;
$custom-light: #8d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35c3",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 250.986,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.20706,
    "h": 282.8
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#4F35C3
secondary
#C0CC88
accent
#E147C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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