#4F2FC2#4F2FC2

#4F2FC2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.212 H 283.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4F2FC2
RGBrgb(79, 47, 194)
HSLhsl(253, 61%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(59.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(33.11, 52.21, -71.41)
CIE-LCHlch(33.11, 88.46, 306.17°)
OKLaboklab(44.66% 0.0503 -0.2058)
OKLCHoklch(44.66% 0.212 283.7)
XYZxyz(13.9756, 7.5894, 51.7569)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FC2 #A2C22F
analogous
#2F59C2 #4F2FC2 #982FC2
triadic
#4F2FC2 #C24F2F #2FC24F
tetradic
#4F2FC2 #C22F59 #A2C22F #2FC298
square
#4F2FC2 #C22F59 #A2C22F #2FC298
split-complementary
#4F2FC2 #C2982F #59C22F
monochromatic
#27175F #3B2391 #4F2FC2 #7358D6 #9C89E2

Accessibility & contrast

On white

8.34
#4F2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F2FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FC2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FC2#FFFFFF#000000##FFFFFF
##4F2FC21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f2fc2;
/* rgb */ color: rgb(79, 47, 194);
/* oklch */ color: oklch(44.7% 0.212 283.7);
Tailwind
colors: {
  custom: {
    50: '#8e6cd6',
    500: '#4f2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fc2;
$custom-light: #8e6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fc2",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 253.061,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.21187,
    "h": 283.7
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#4F2FC2
secondary
#BCCC81
accent
#E444C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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