#4F35AE#4F35AE

#4F35AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.182 H 286.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4F35AE
RGBrgb(79, 53, 174)
HSLhsl(253, 53%, 45%)
HSVhsv(253, 70%, 68%)
CMYKcmyk(54.6%, 69.5%, 0%, 31.8%)
CIE-LABlab(32.40, 43.15, -60.74)
CIE-LCHlch(32.40, 74.51, 305.39°)
OKLaboklab(43.6% 0.05 -0.1746)
OKLCHoklch(43.6% 0.182 286)
XYZxyz(12.1352, 7.2638, 40.7988)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35AE #94AE35
analogous
#3557AE #4F35AE #8C35AE
triadic
#4F35AE #AE4F35 #35AE4F
tetradic
#4F35AE #AE3557 #94AE35 #35AE8C
square
#4F35AE #AE3557 #94AE35 #35AE8C
split-complementary
#4F35AE #AE8C35 #57AE35
monochromatic
#241850 #3A277F #4F35AE #6E55CB #9684DA

Accessibility & contrast

On white

8.56
#4F35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35AE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35AE#FFFFFF#000000##FFFFFF
##4F35AE1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#26546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f35ae;
/* rgb */ color: rgb(79, 53, 174);
/* oklch */ color: oklch(43.6% 0.182 286.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ec7',
    500: '#4f35ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f35ae;
$custom-light: #8a6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35ae",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 252.893,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.18163,
    "h": 286
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#4F35AE
secondary
#B4C37C
accent
#DD4BBD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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