#4F27C2#4F27C2

#4F27C2 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.219 H 284.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4F27C2
RGBrgb(79, 39, 194)
HSLhsl(255, 67%, 46%)
HSVhsv(255, 80%, 76%)
CMYKcmyk(59.3%, 79.9%, 0%, 23.9%)
CIE-LABlab(31.82, 55.92, -73.53)
CIE-LCHlch(31.82, 92.38, 307.25°)
OKLaboklab(43.76% 0.0553 -0.2119)
OKLCHoklch(43.76% 0.219 284.6)
XYZxyz(13.6846, 7.0075, 51.6599)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F27C2 #9AC227
analogous
#274CC2 #4F27C2 #9C27C2
triadic
#4F27C2 #C24F27 #27C24F
tetradic
#4F27C2 #C2274C #9AC227 #27C29C
square
#4F27C2 #C2274C #9AC227 #27C29C
split-complementary
#4F27C2 #C29C27 #4CC227
monochromatic
#25135C #3A1D8F #4F27C2 #704BDB #997EE5

Accessibility & contrast

On white

8.74
#4F27C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4F27C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F27C2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F27C2#FFFFFF#000000##FFFFFF
##4F27C21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#015675
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f27c2;
/* rgb */ color: rgb(79, 39, 194);
/* oklch */ color: oklch(43.8% 0.219 284.6);
Tailwind
colors: {
  custom: {
    50: '#8e67d6',
    500: '#4f27c2',
    950: '#000000',
  },
}
SCSS
$custom: #4f27c2;
$custom-light: #8e67d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f27c2",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 194
  },
  "hsl": {
    "h": 255.484,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43764,
    "c": 0.21903,
    "h": 284.6
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#4F27C2
secondary
#B7CE77
accent
#E93EBD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F27C2

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

Preview Lab → · Contrast checker → · Palette generator →

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