#4F27AA#4F27AA

#4F27AA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.192 H 289.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4F27AA
RGBrgb(79, 39, 170)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 77%, 67%)
CMYKcmyk(53.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(29.45, 49.25, -63.18)
CIE-LCHlch(29.45, 80.10, 307.94°)
OKLaboklab(41.4% 0.0625 -0.1817)
OKLCHoklch(41.4% 0.192 289)
XYZxyz(11.2035, 6.0151, 38.5931)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F27AA #82AA27
analogous
#2740AA #4F27AA #9027AA
triadic
#4F27AA #AA4F27 #27AA4F
tetradic
#4F27AA #AA2740 #82AA27 #27AA90
square
#4F27AA #AA2740 #82AA27 #27AA90
split-complementary
#4F27AA #AA9027 #40AA27
monochromatic
#211046 #381C78 #4F27AA #6A3CD2 #906EDE

Accessibility & contrast

On white

9.53
#4F27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F27AA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F27AA#FFFFFF#000000##FFFFFF
##4F27AA1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#2C4C67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f27aa;
/* rgb */ color: rgb(79, 39, 170);
/* oklch */ color: oklch(41.4% 0.192 289.0);
Tailwind
colors: {
  custom: {
    50: '#8a66c4',
    500: '#4f27aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f27aa;
$custom-light: #8a66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f27aa",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 258.321,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.19213,
    "h": 289
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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