#4F36CC#4F36CC

#4F36CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.217 H 281.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4F36CC
RGBrgb(79, 54, 204)
HSLhsl(250, 60%, 51%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(61.3%, 73.5%, 0%, 20%)
CIE-LABlab(35.32, 51.61, -73.62)
CIE-LCHlch(35.32, 89.91, 305.03°)
OKLaboklab(46.51% 0.0432 -0.2123)
OKLCHoklch(46.51% 0.217 281.5)
XYZxyz(15.4393, 8.6591, 57.9728)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36CC #B3CC36
analogous
#3668CC #4F36CC #9A36CC
triadic
#4F36CC #CC4F36 #36CC4F
tetradic
#4F36CC #CC3668 #B3CC36 #36CC9A
square
#4F36CC #CC3668 #B3CC36 #36CC9A
split-complementary
#4F36CC #CC9A36 #68CC36
monochromatic
#291B6C #3B289D #4F36CC #7A67D8 #A498E5

Accessibility & contrast

On white

7.69
#4F36CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F36CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36CC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36CC#FFFFFF#000000##FFFFFF
##4F36CC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f36cc;
/* rgb */ color: rgb(79, 54, 204);
/* oklch */ color: oklch(46.5% 0.217 281.5);
Tailwind
colors: {
  custom: {
    50: '#8f70dd',
    500: '#4f36cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f36cc;
$custom-light: #8f70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36cc",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 250,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.21667,
    "h": 281.5
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#4F36CC
secondary
#C5D08E
accent
#E345C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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