#4F36AF#4F36AF

#4F36AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.182 H 285.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4F36AF
RGBrgb(79, 54, 175)
HSLhsl(252, 53%, 45%)
HSVhsv(252, 69%, 69%)
CMYKcmyk(54.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(32.69, 42.89, -60.86)
CIE-LCHlch(32.69, 74.46, 305.17°)
OKLaboklab(43.83% 0.049 -0.175)
OKLCHoklch(43.83% 0.182 285.6)
XYZxyz(12.2792, 7.3951, 41.3295)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36AF #96AF36
analogous
#3659AF #4F36AF #8C36AF
triadic
#4F36AF #AF4F36 #36AF4F
tetradic
#4F36AF #AF3659 #96AF36 #36AF8C
square
#4F36AF #AF3659 #96AF36 #36AF8C
split-complementary
#4F36AF #AF8C36 #59AF36
monochromatic
#251951 #3A2880 #4F36AF #6F57CB #9786DA

Accessibility & contrast

On white

8.47
#4F36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36AF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36AF#FFFFFF#000000##FFFFFF
##4F36AF1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#25556E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f36af;
/* rgb */ color: rgb(79, 54, 175);
/* oklch */ color: oklch(43.8% 0.182 285.6);
Tailwind
colors: {
  custom: {
    50: '#8a6fc8',
    500: '#4f36af',
    950: '#000000',
  },
}
SCSS
$custom: #4f36af;
$custom-light: #8a6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36af",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 252.397,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43832,
    "c": 0.18168,
    "h": 285.6
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#4F36AF
secondary
#B5C37D
accent
#DC4CBE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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