#4F35BC#4F35BC

#4F35BC is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.199 H 283.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4F35BC
RGBrgb(79, 53, 188)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 74%)
CMYKcmyk(58%, 71.8%, 0%, 26.3%)
CIE-LABlab(33.64, 47.36, -67.01)
CIE-LCHlch(33.64, 82.05, 305.25°)
OKLaboklab(44.87% 0.0474 -0.193)
OKLCHoklch(44.87% 0.199 283.8)
XYZxyz(13.5719, 7.8385, 48.3650)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BC #A2BC35
analogous
#355EBC #4F35BC #9335BC
triadic
#4F35BC #BC4F35 #35BC4F
tetradic
#4F35BC #BC355E #A2BC35 #35BC93
square
#4F35BC #BC355E #A2BC35 #35BC93
split-complementary
#4F35BC #BC9335 #5EBC35
monochromatic
#271A5D #3B288C #4F35BC #735DD1 #9C8DDF

Accessibility & contrast

On white

8.18
#4F35BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F35BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35BC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BC#FFFFFF#000000##FFFFFF
##4F35BC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#115A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f35bc;
/* rgb */ color: rgb(79, 53, 188);
/* oklch */ color: oklch(44.9% 0.199 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6fd1',
    500: '#4f35bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f35bc;
$custom-light: #8c6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35bc",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 251.556,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44866,
    "c": 0.1987,
    "h": 283.8
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#4F35BC
secondary
#BCC984
accent
#DF48C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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