#4F35AB#4F35AB

#4F35AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.178 H 286.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4F35AB
RGBrgb(79, 53, 171)
HSLhsl(253, 53%, 44%)
HSVhsv(253, 69%, 67%)
CMYKcmyk(53.8%, 69%, 0%, 32.9%)
CIE-LABlab(32.14, 42.25, -59.37)
CIE-LCHlch(32.14, 72.86, 305.44°)
OKLaboklab(43.33% 0.0505 -0.1706)
OKLCHoklch(43.33% 0.178 286.5)
XYZxyz(11.8460, 7.1481, 39.2757)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35AB #91AB35
analogous
#3556AB #4F35AB #8A35AB
triadic
#4F35AB #AB4F35 #35AB4F
tetradic
#4F35AB #AB3556 #91AB35 #35AB8A
square
#4F35AB #AB3556 #91AB35 #35AB8A
split-complementary
#4F35AB #AB8A35 #56AB35
monochromatic
#24184E #39277C #4F35AB #6D53CA #9582D8

Accessibility & contrast

On white

8.64
#4F35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4F35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35AB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35AB#FFFFFF#000000##FFFFFF
##4F35AB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#29536C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f35ab;
/* rgb */ color: rgb(79, 53, 171);
/* oklch */ color: oklch(43.3% 0.178 286.5);
Tailwind
colors: {
  custom: {
    50: '#896ec5',
    500: '#4f35ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f35ab;
$custom-light: #896ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35ab",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 253.22,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.1779,
    "h": 286.5
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#4F35AB
secondary
#B2C27A
accent
#DC4CBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4F35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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