#4F36AB#4F36AB

#4F36AB is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.177 H 286.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4F36AB
RGBrgb(79, 54, 171)
HSLhsl(253, 52%, 44%)
HSVhsv(253, 68%, 67%)
CMYKcmyk(53.8%, 68.4%, 0%, 32.9%)
CIE-LABlab(32.35, 41.68, -59.03)
CIE-LCHlch(32.35, 72.26, 305.23°)
OKLaboklab(43.48% 0.0496 -0.1696)
OKLCHoklch(43.48% 0.177 286.3)
XYZxyz(11.8921, 7.2402, 39.2911)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36AB #92AB36
analogous
#3657AB #4F36AB #8A36AB
triadic
#4F36AB #AB4F36 #36AB4F
tetradic
#4F36AB #AB3657 #92AB36 #36AB8A
square
#4F36AB #AB3657 #92AB36 #36AB8A
split-complementary
#4F36AB #AB8A36 #57AB36
monochromatic
#24194E #3A277C #4F36AB #6E55C9 #9583D8

Accessibility & contrast

On white

8.58
#4F36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F36AB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36AB#FFFFFF#000000##FFFFFF
##4F36AB1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f36ab;
/* rgb */ color: rgb(79, 54, 171);
/* oklch */ color: oklch(43.5% 0.177 286.3);
Tailwind
colors: {
  custom: {
    50: '#896fc5',
    500: '#4f36ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f36ab;
$custom-light: #896fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36ab",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 252.821,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.1767,
    "h": 286.3
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#4F36AB
secondary
#B3C27B
accent
#DB4CBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4F36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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