#4F2FD8#4F2FD8

#4F2FD8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.237 H 280.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2FD8
RGBrgb(79, 47, 216)
HSLhsl(251, 68%, 52%)
HSVhsv(251, 78%, 85%)
CMYKcmyk(63.4%, 78.2%, 0%, 15.3%)
CIE-LABlab(35.31, 58.52, -80.59)
CIE-LCHlch(35.31, 99.59, 305.99°)
OKLaboklab(46.85% 0.0443 -0.2326)
OKLCHoklch(46.85% 0.237 280.8)
XYZxyz(16.6317, 8.6519, 65.7460)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FD8 #B8D82F
analogous
#2F64D8 #4F2FD8 #A42FD8
triadic
#4F2FD8 #D84F2F #2FD84F
tetradic
#4F2FD8 #D82F64 #B8D82F #2FD8A4
square
#4F2FD8 #D82F64 #B8D82F #2FD8A4
split-complementary
#4F2FD8 #D8A42F #64D82F
monochromatic
#281676 #3A20AA #4F2FD8 #7B63E2 #A696EB

Accessibility & contrast

On white

7.69
#4F2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F2FD8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FD8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FD8#FFFFFF#000000##FFFFFF
##4F2FD81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DD
Deuteranopia (green-blind)
#004DD5
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f2fd8;
/* rgb */ color: rgb(79, 47, 216);
/* oklch */ color: oklch(46.8% 0.237 280.8);
Tailwind
colors: {
  custom: {
    50: '#926de5',
    500: '#4f2fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fd8;
$custom-light: #926de5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fd8",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 251.361,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.23677,
    "h": 280.8
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#4F2FD8
secondary
#C8D78C
accent
#EB3DCA
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4F2FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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