#4F36BA#4F36BA

#4F36BA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.195 H 283.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4F36BA
RGBrgb(79, 54, 186)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.5%, 71%, 0%, 27.1%)
CIE-LABlab(33.66, 46.21, -65.80)
CIE-LCHlch(33.66, 80.41, 305.08°)
OKLaboklab(44.82% 0.047 -0.1894)
OKLCHoklch(44.82% 0.195 283.9)
XYZxyz(13.4038, 7.8449, 47.2528)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BA #A1BA36
analogous
#365FBA #4F36BA #9136BA
triadic
#4F36BA #BA4F36 #36BA4F
tetradic
#4F36BA #BA365F #A1BA36 #36BA91
square
#4F36BA #BA365F #A1BA36 #36BA91
split-complementary
#4F36BA #BA9136 #5FBA36
monochromatic
#271A5B #3B288B #4F36BA #735DD0 #9C8DDE

Accessibility & contrast

On white

8.17
#4F36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F36BA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BA#FFFFFF#000000##FFFFFF
##4F36BA1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f36ba;
/* rgb */ color: rgb(79, 54, 186);
/* oklch */ color: oklch(44.8% 0.195 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c6fd0',
    500: '#4f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f36ba;
$custom-light: #8c6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36ba",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 251.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.19519,
    "h": 283.9
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#4F36BA
secondary
#BBC884
accent
#DE49C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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