#4F36BF#4F36BF

#4F36BF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.3% C 0.201 H 283.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4F36BF
RGBrgb(79, 54, 191)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(58.6%, 71.7%, 0%, 25.1%)
CIE-LABlab(34.11, 47.72, -68.01)
CIE-LCHlch(34.11, 83.08, 305.06°)
OKLaboklab(45.28% 0.046 -0.1959)
OKLCHoklch(45.28% 0.201 283.2)
XYZxyz(13.9447, 8.0613, 50.1013)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BF #A6BF36
analogous
#3661BF #4F36BF #9336BF
triadic
#4F36BF #BF4F36 #36BF4F
tetradic
#4F36BF #BF3661 #A6BF36 #36BF93
square
#4F36BF #BF3661 #A6BF36 #36BF93
split-complementary
#4F36BF #BF9336 #61BF36
monochromatic
#281B60 #3B298F #4F36BF #7560D2 #9E90E0

Accessibility & contrast

On white

8.04
#4F36BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4F36BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36BF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BF#FFFFFF#000000##FFFFFF
##4F36BF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#075B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f36bf;
/* rgb */ color: rgb(79, 54, 191);
/* oklch */ color: oklch(45.3% 0.201 283.2);
Tailwind
colors: {
  custom: {
    50: '#8d70d3',
    500: '#4f36bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f36bf;
$custom-light: #8d70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36bf",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 250.949,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.20123,
    "h": 283.2
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#4F36BF
secondary
#BECA87
accent
#DF49C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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