#4F36BE#4F36BE

#4F36BE is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.200 H 283.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4F36BE
RGBrgb(79, 54, 190)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(58.4%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.02, 47.42, -67.57)
CIE-LCHlch(34.02, 82.55, 305.06°)
OKLaboklab(45.19% 0.0462 -0.1946)
OKLCHoklch(45.19% 0.2 283.3)
XYZxyz(13.8350, 8.0174, 49.5237)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BE #A5BE36
analogous
#3661BE #4F36BE #9336BE
triadic
#4F36BE #BE4F36 #36BE4F
tetradic
#4F36BE #BE3661 #A5BE36 #36BE93
square
#4F36BE #BE3661 #A5BE36 #36BE93
split-complementary
#4F36BE #BE9336 #61BE36
monochromatic
#271B5F #3B288E #4F36BE #7560D2 #9E8FDF

Accessibility & contrast

On white

8.07
#4F36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4F36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36BE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BE#FFFFFF#000000##FFFFFF
##4F36BE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#0B5B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f36be;
/* rgb */ color: rgb(79, 54, 190);
/* oklch */ color: oklch(45.2% 0.200 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c70d3',
    500: '#4f36be',
    950: '#000000',
  },
}
SCSS
$custom: #4f36be;
$custom-light: #8c70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36be",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 251.029,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.20002,
    "h": 283.3
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#4F36BE
secondary
#BDCA86
accent
#DF49C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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