#4F27AB#4F27AB

#4F27AB is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.193 H 288.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4F27AB
RGBrgb(79, 39, 171)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 77%, 67%)
CMYKcmyk(53.8%, 77.2%, 0%, 32.9%)
CIE-LABlab(29.55, 49.53, -63.62)
CIE-LCHlch(29.55, 80.63, 307.90°)
OKLaboklab(41.49% 0.0623 -0.183)
OKLCHoklch(41.49% 0.193 288.8)
XYZxyz(11.2985, 6.0530, 39.0932)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F27AB #83AB27
analogous
#2741AB #4F27AB #9127AB
triadic
#4F27AB #AB4F27 #27AB4F
tetradic
#4F27AB #AB2741 #83AB27 #27AB91
square
#4F27AB #AB2741 #83AB27 #27AB91
split-complementary
#4F27AB #AB9127 #41AB27
monochromatic
#211047 #381C79 #4F27AB #6A3DD3 #906EDE

Accessibility & contrast

On white

9.50
#4F27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F27AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F27AB
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F27AB#FFFFFF#000000##FFFFFF
##4F27AB1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#2B4C68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f27ab;
/* rgb */ color: rgb(79, 39, 171);
/* oklch */ color: oklch(41.5% 0.193 288.8);
Tailwind
colors: {
  custom: {
    50: '#8a66c5',
    500: '#4f27ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f27ab;
$custom-light: #8a66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f27ab",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 258.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.19327,
    "h": 288.8
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#4F27AB
secondary
#A9C569
accent
#E642B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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