#4F36B3#4F36B3

#4F36B3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.187 H 285.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4F36B3
RGBrgb(79, 54, 179)
HSLhsl(252, 54%, 46%)
HSVhsv(252, 70%, 70%)
CMYKcmyk(55.9%, 69.8%, 0%, 29.8%)
CIE-LABlab(33.04, 44.10, -62.67)
CIE-LCHlch(33.04, 76.64, 305.13°)
OKLaboklab(44.19% 0.0483 -0.1803)
OKLCHoklch(44.19% 0.187 285)
XYZxyz(12.6778, 7.5545, 43.4292)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36B3 #9AB336
analogous
#365BB3 #4F36B3 #8D36B3
triadic
#4F36B3 #B34F36 #36B34F
tetradic
#4F36B3 #B3365B #9AB336 #36B38D
square
#4F36B3 #B3365B #9AB336 #36B38D
split-complementary
#4F36B3 #B38D36 #5BB336
monochromatic
#251A55 #3A2884 #4F36B3 #7059CD #9988DB

Accessibility & contrast

On white

8.36
#4F36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36B3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36B3#FFFFFF#000000##FFFFFF
##4F36B31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#205770
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f36b3;
/* rgb */ color: rgb(79, 54, 179);
/* oklch */ color: oklch(44.2% 0.187 285.0);
Tailwind
colors: {
  custom: {
    50: '#8b6fcb',
    500: '#4f36b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f36b3;
$custom-light: #8b6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36b3",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 252,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.18663,
    "h": 285
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#4F36B3
secondary
#B7C580
accent
#DD4BC0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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