#4F27BD#4F27BD

#4F27BD is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.213 H 285.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4F27BD
RGBrgb(79, 39, 189)
HSLhsl(256, 66%, 45%)
HSVhsv(256, 79%, 74%)
CMYKcmyk(58.2%, 79.4%, 0%, 25.9%)
CIE-LABlab(31.32, 54.54, -71.43)
CIE-LCHlch(31.32, 89.87, 307.36°)
OKLaboklab(43.26% 0.0569 -0.2058)
OKLCHoklch(43.26% 0.214 285.5)
XYZxyz(13.1325, 6.7866, 48.7522)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F27BD #95BD27
analogous
#274ABD #4F27BD #9A27BD
triadic
#4F27BD #BD4F27 #27BD4F
tetradic
#4F27BD #BD274A #95BD27 #27BD9A
square
#4F27BD #BD274A #95BD27 #27BD9A
split-complementary
#4F27BD #BD9A27 #4ABD27
monochromatic
#251258 #3A1D8A #4F27BD #6F48D9 #977BE4

Accessibility & contrast

On white

8.91
#4F27BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F27BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F27BD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F27BD#FFFFFF#000000##FFFFFF
##4F27BD1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#115472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f27bd;
/* rgb */ color: rgb(79, 39, 189);
/* oklch */ color: oklch(43.3% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#8d67d2',
    500: '#4f27bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f27bd;
$custom-light: #8d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f27bd",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 256,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.2135,
    "h": 285.5
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#4F27BD
secondary
#B4CC74
accent
#E93FBB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F27BD

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

Preview Lab → · Contrast checker → · Palette generator →

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