#4F36B8#4F36B8

#4F36B8 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.193 H 284.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4F36B8
RGBrgb(79, 54, 184)
HSLhsl(252, 55%, 47%)
HSVhsv(252, 71%, 72%)
CMYKcmyk(57.1%, 70.7%, 0%, 27.8%)
CIE-LABlab(33.48, 45.61, -64.92)
CIE-LCHlch(33.48, 79.34, 305.09°)
OKLaboklab(44.64% 0.0474 -0.1868)
OKLCHoklch(44.64% 0.193 284.2)
XYZxyz(13.1927, 7.7605, 46.1409)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36B8 #9FB836
analogous
#365EB8 #4F36B8 #9036B8
triadic
#4F36B8 #B84F36 #36B84F
tetradic
#4F36B8 #B8365E #9FB836 #36B890
square
#4F36B8 #B8365E #9FB836 #36B890
split-complementary
#4F36B8 #B89036 #5EB836
monochromatic
#261A59 #3B2889 #4F36B8 #725CCF #9B8BDD

Accessibility & contrast

On white

8.23
#4F36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36B8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36B8#FFFFFF#000000##FFFFFF
##4F36B81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#195973
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f36b8;
/* rgb */ color: rgb(79, 54, 184);
/* oklch */ color: oklch(44.6% 0.193 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b6fce',
    500: '#4f36b8',
    950: '#000000',
  },
}
SCSS
$custom: #4f36b8;
$custom-light: #8b6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36b8",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 251.538,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.19276,
    "h": 284.2
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#4F36B8
secondary
#BAC782
accent
#DE4AC1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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