#4F2FC8#4F2FC8

#4F2FC8 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.219 H 282.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4F2FC8
RGBrgb(79, 47, 200)
HSLhsl(253, 62%, 48%)
HSVhsv(253, 77%, 78%)
CMYKcmyk(60.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(33.70, 53.94, -73.96)
CIE-LCHlch(33.70, 91.54, 306.11°)
OKLaboklab(45.25% 0.0487 -0.2132)
OKLCHoklch(45.25% 0.219 282.9)
XYZxyz(14.6631, 7.8644, 55.3777)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FC8 #A8C82F
analogous
#2F5BC8 #4F2FC8 #9B2FC8
triadic
#4F2FC8 #C84F2F #2FC84F
tetradic
#4F2FC8 #C82F5B #A8C82F #2FC89B
square
#4F2FC8 #C82F5B #A8C82F #2FC89B
split-complementary
#4F2FC8 #C89B2F #5BC82F
monochromatic
#281865 #3B2396 #4F2FC8 #765CD9 #9F8DE4

Accessibility & contrast

On white

8.16
#4F2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F2FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FC8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FC8#FFFFFF#000000##FFFFFF
##4F2FC81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f2fc8;
/* rgb */ color: rgb(79, 47, 200);
/* oklch */ color: oklch(45.2% 0.219 282.9);
Tailwind
colors: {
  custom: {
    50: '#8f6cda',
    500: '#4f2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fc8;
$custom-light: #8f6cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fc8",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 252.549,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.21875,
    "h": 282.9
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#4F2FC8
secondary
#BFCF84
accent
#E543C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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