#4F35BA#4F35BA

#4F35BA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.196 H 284.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4F35BA
RGBrgb(79, 53, 186)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 73%)
CMYKcmyk(57.5%, 71.5%, 0%, 27.1%)
CIE-LABlab(33.46, 46.76, -66.12)
CIE-LCHlch(33.46, 80.98, 305.26°)
OKLaboklab(44.68% 0.0478 -0.1904)
OKLCHoklch(44.68% 0.196 284.1)
XYZxyz(13.3578, 7.7528, 47.2374)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BA #A0BA35
analogous
#355EBA #4F35BA #9235BA
triadic
#4F35BA #BA4F35 #35BA4F
tetradic
#4F35BA #BA355E #A0BA35 #35BA92
square
#4F35BA #BA355E #A0BA35 #35BA92
split-complementary
#4F35BA #BA9235 #5EBA35
monochromatic
#271A5B #3B278A #4F35BA #735CD0 #9C8BDE

Accessibility & contrast

On white

8.23
#4F35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35BA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BA#FFFFFF#000000##FFFFFF
##4F35BA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#155974
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f35ba;
/* rgb */ color: rgb(79, 53, 186);
/* oklch */ color: oklch(44.7% 0.196 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c6fd0',
    500: '#4f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f35ba;
$custom-light: #8c6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35ba",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 251.729,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.19629,
    "h": 284.1
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#4F35BA
secondary
#BBC882
accent
#DF49C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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