#4F2FC3#4F2FC3

#4F2FC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.213 H 283.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4F2FC3
RGBrgb(79, 47, 195)
HSLhsl(253, 61%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(59.5%, 75.9%, 0%, 23.5%)
CIE-LABlab(33.21, 52.50, -71.84)
CIE-LCHlch(33.21, 88.98, 306.16°)
OKLaboklab(44.76% 0.0501 -0.2071)
OKLCHoklch(44.76% 0.213 283.6)
XYZxyz(14.0883, 7.6345, 52.3504)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FC3 #A3C32F
analogous
#2F59C3 #4F2FC3 #992FC3
triadic
#4F2FC3 #C34F2F #2FC34F
tetradic
#4F2FC3 #C32F59 #A3C32F #2FC399
square
#4F2FC3 #C32F59 #A3C32F #2FC399
split-complementary
#4F2FC3 #C3992F #59C32F
monochromatic
#271760 #3B2392 #4F2FC3 #7458D7 #9D8AE3

Accessibility & contrast

On white

8.31
#4F2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F2FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FC3
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FC3#FFFFFF#000000##FFFFFF
##4F2FC31.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f2fc3;
/* rgb */ color: rgb(79, 47, 195);
/* oklch */ color: oklch(44.8% 0.213 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e6cd6',
    500: '#4f2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fc3;
$custom-light: #8e6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fc3",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 252.973,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44759,
    "c": 0.21302,
    "h": 283.6
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#4F2FC3
secondary
#BCCD81
accent
#E444C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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